ThemeInitialization

Provides the theme initialization logic.

Hierarchy

File

core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 13

Namespace

Drupal\Core\Theme

Members

Name Modifiers Type Description
ThemeInitialization::$cache protected property The cache backend to use for the active theme.
ThemeInitialization::$extensions protected property The extensions that might be attaching assets.
ThemeInitialization::$root protected property The app root.
ThemeInitialization::$themeHandler protected property The theme handler.
ThemeInitialization::getActiveTheme public function Builds up the active theme object from extensions. Overrides ThemeInitializationInterface::getActiveTheme
ThemeInitialization::getActiveThemeByName public function Builds an active theme object. Overrides ThemeInitializationInterface::getActiveThemeByName
ThemeInitialization::getExtensions protected function Gets all extensions.
ThemeInitialization::initTheme public function Initializes a given theme. Overrides ThemeInitializationInterface::initTheme
ThemeInitialization::loadActiveTheme public function Loads a theme, so it is ready to be used. Overrides ThemeInitializationInterface::loadActiveTheme
ThemeInitialization::prepareStylesheetsRemove protected function Prepares stylesheets-remove specified in the *.info.yml file.
ThemeInitialization::resolveStyleSheetPlaceholders protected function Gets CSS file where tokens have been resolved.
ThemeInitialization::__construct public function Constructs a new ThemeInitialization object.
doc_Drupal
2016-10-29 09:48:05
Comments
Leave a Comment

Please login to continue.