public ThemeInitializationInterface::getActiveTheme(Extension $theme, array $base_themes = [])
Builds up the active theme object from extensions.
\Drupal\Core\Extension\Extension $theme: The theme extension object.
\Drupal\Core\Extension\Extension[] $base_themes: An array of extension objects of base theme and its bases. It is ordered by 'next parent first', meaning the top level of the chain will be first.
\Drupal\Core\Theme\ActiveTheme The active theme instance for the passed in $theme.
public function getActiveTheme(Extension $theme, array $base_themes = []);
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Theme!ThemeInitializationInterface.php/function/ThemeInitializationInterface::getActiveTheme/8.1.x