W3cubDocs

/Drupal 8

public function ThemeInitializationInterface::loadActiveTheme

public ThemeInitializationInterface::loadActiveTheme(ActiveTheme $active_theme)

Loads a theme, so it is ready to be used.

Loading a theme includes loading and initializing the engine, each base theme and its engines.

Parameters

\Drupal\Core\Theme\ActiveTheme $active_theme: The theme to load.

File

core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 47

Class

ThemeInitializationInterface
Defines an interface which contain theme initialization logic.

Namespace

Drupal\Core\Theme

Code

public function loadActiveTheme(ActiveTheme $active_theme);

© 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::loadActiveTheme/8.1.x