public function ThemeInitializationInterface::loadActiveTheme in Drupal 9
Same name and namespace in other branches
- 8 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);