function ThemeInitializationInterface::loadActiveTheme

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php \Drupal\Core\Theme\ThemeInitializationInterface::loadActiveTheme()
  2. 8.9.x core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php \Drupal\Core\Theme\ThemeInitializationInterface::loadActiveTheme()
  3. 10 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\Theme

Code

public function loadActiveTheme(ActiveTheme $active_theme);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.