public ThemeInitializationInterface::getActiveThemeByName($theme_name)
Builds an active theme object.
string $theme_name: The machine name of the theme.
\Drupal\Core\Theme\ActiveTheme An active theme object instance for the given theme.
\Drupal\Core\Theme\MissingThemeDependencyException Thrown when base theme for installed theme is not installed.
public function getActiveThemeByName($theme_name);
© 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::getActiveThemeByName/8.1.x