ThemeInstaller::$configManager

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

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

Manages theme installation/uninstallation. Hierarchy class \Drupal\Core\Extension\ThemeInstaller implements ThemeInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 17 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeInstaller::$configFactory protected property ThemeInstaller::$configInstaller protected property ThemeInstaller::$configManager protected property ThemeInstaller::$cssCollectionOptimiz

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

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::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::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

ThemeInitializationInterface

Defines an interface which contain theme initialization logic. Hierarchy interface \Drupal\Core\Theme\ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeInitializationInterface.php, line 9 Namespace Drupal\Core\Theme Members Name Modifiers Type Description ThemeInitializationInterface::getActiveTheme public function Builds up the active theme object from extensions. ThemeInitializationInterface::getActiveThemeByName public function Builds an active

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