ThemeInstaller::$logger

Type: \Psr\Log\LoggerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 57 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $logger;

ThemeInstaller::$configInstaller

Type: \Drupal\Core\Config\ConfigInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 27 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $configInstaller;

ThemeInstaller::$configFactory

Type: \Drupal\Core\Config\ConfigFactoryInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 22 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $configFactory;

ThemeInstaller::$cssCollectionOptimizer

Type: \Drupal\Core\Asset\AssetCollectionOptimizerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 47 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $cssCollectionOptimizer;

ThemeInitializationInterface::getActiveThemeByName

public ThemeInitializationInterface::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. File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 36 Class ThemeInitializationInterface De

ThemeInitializationInterface::initTheme

public ThemeInitializationInterface::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. File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 22 Class ThemeInitializationInterface Defines an interface which contain theme initialization logic. Namesp

ThemeInitializationInterface::loadActiveTheme

public ThemeInitializationInterface::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. File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 47 Class ThemeInitializationInterface Defines an interface which contain theme initialization logic. Namespace Drupal\Core\The

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

ThemeInitializationInterface::getActiveTheme

public ThemeInitializationInterface::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 t

ThemeInitialization::__construct

public ThemeInitialization::__construct($root, ThemeHandlerInterface $theme_handler, CacheBackendInterface $cache, ModuleHandlerInterface $module_handler) Constructs a new ThemeInitialization object. Parameters string $root: The app root. \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme handler. \Drupal\Core\Cache\CacheBackendInterface $cache: The cache backend. \Drupal\Core\Extension\ModuleHandlerInterface $module_handler: The module handler to use to load modules. File