ThemeInitialization::resolveStyleSheetPlaceholders

protected ThemeInitialization::resolveStyleSheetPlaceholders($css_file) Gets CSS file where tokens have been resolved. @todo Remove in Drupal 9.0.x. Parameters string $css_file: CSS file which may contain tokens. Return value string CSS file where placeholders are replaced. File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 281 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected function resolveStyleSheetPlaceholder

ThemeInitialization::prepareStylesheetsRemove

protected ThemeInitialization::prepareStylesheetsRemove(Extension $theme, $base_themes) Prepares stylesheets-remove specified in the *.info.yml file. @todo Remove in Drupal 9.0.x. Parameters \Drupal\Core\Extension\Extension $theme: The theme extension object. \Drupal\Core\Extension\Extension[] $base_themes: An array of base themes. Return value string[] The list of stylesheets-remove specified in the *.info.yml file. File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 309 Class

ThemeInitialization::loadActiveTheme

public ThemeInitialization::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. Overrides ThemeInitializationInterface::loadActiveTheme File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 129 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\

ThemeInitialization::initTheme

public ThemeInitialization::initTheme($theme_name) Initializes a given theme. This loads the active theme, for example include its engine file. Parameters string $theme_name: The machine name of the theme. Return value \Drupal\Core\Theme\ActiveTheme An active theme object instance for the given theme. Overrides ThemeInitializationInterface::initTheme File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 65 Class ThemeInitialization Provides the theme initialization logic. Names

ThemeInitialization::getExtensions

protected ThemeInitialization::getExtensions() Gets all extensions. Return value array File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 263 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected function getExtensions() { if (!isset($this->extensions)) { $this->extensions = array_merge($this->moduleHandler->getModuleList(), $this->themeHandler->listInfo()); } return $this->extensions; }

ThemeInitialization::getActiveThemeByName

public ThemeInitialization::getActiveThemeByName($theme_name) Builds an active theme object. Parameters string $theme_name: The machine name of the theme. Return value \Drupal\Core\Theme\ActiveTheme An active theme object instance for the given theme. Throws \Drupal\Core\Theme\MissingThemeDependencyException Thrown when base theme for installed theme is not installed. Overrides ThemeInitializationInterface::getActiveThemeByName File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 75

ThemeInitialization::getActiveTheme

public ThemeInitialization::getActiveTheme(Extension $theme, array $base_themes = []) Builds up the active theme object from extensions. Parameters \Drupal\Core\Extension\Extension $theme: The theme extension object. \Drupal\Core\Extension\Extension[] $base_themes: An array of extension objects of base theme and its bases. It is ordered by 'next parent first', meaning the top level of the chain will be first. Return value \Drupal\Core\Theme\ActiveTheme The active theme instance for the passed

ThemeInitialization::$themeHandler

The theme handler. Type: \Drupal\Core\Extension\ThemeHandlerInterface File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 20 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected $themeHandler;

ThemeInitialization::$root

The app root. Type: string File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 34 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected $root;

ThemeInitialization::$extensions

The extensions that might be attaching assets. Type: array File core/lib/Drupal/Core/Theme/ThemeInitialization.php, line 41 Class ThemeInitialization Provides the theme initialization logic. Namespace Drupal\Core\Theme Code protected $extensions;