function ThemeInitializationInterface::loadActiveTheme
Same name in other branches
- 8.9.x core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php \Drupal\Core\Theme\ThemeInitializationInterface::loadActiveTheme()
- 10 core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php \Drupal\Core\Theme\ThemeInitializationInterface::loadActiveTheme()
- 11.x core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php \Drupal\Core\Theme\ThemeInitializationInterface::loadActiveTheme()
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.
1 method overrides ThemeInitializationInterface::loadActiveTheme()
- ThemeInitialization::loadActiveTheme in core/
lib/ Drupal/ Core/ Theme/ ThemeInitialization.php - Loads a theme, so it is ready to be used.
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeInitializationInterface.php, line 48
Class
- ThemeInitializationInterface
- Defines an interface which contain theme initialization logic.
Namespace
Drupal\Core\ThemeCode
public function loadActiveTheme(ActiveTheme $active_theme);
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.