ThemeManager::$moduleHandler

The module handler. Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 50 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $moduleHandler;

ThemeManager::$themeNegotiator

The theme negotiator. Type: \Drupal\Core\Theme\ThemeNegotiatorInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 22 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $themeNegotiator;

ThemeManager::$themeInitialization

The theme initialization. Type: \Drupal\Core\Theme\ThemeInitializationInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 43 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $themeInitialization;

ThemeManager::$root

The app root. Type: string File core/lib/Drupal/Core/Theme/ThemeManager.php, line 57 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $root;

ThemeInstallerInterface::uninstall

public ThemeInstallerInterface::uninstall(array $theme_list) Uninstalls a given list of themes. Uninstalling a theme removes all related configuration (like blocks) and invokes the 'themes_uninstalled' hook. Parameters array $theme_list: The themes to uninstall. Throws \InvalidArgumentException Thrown when you uninstall an not installed theme. See also hook_themes_uninstalled() File core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php, line 42 Class ThemeInstallerInterface Manages

ThemeManager

Provides the default implementation of a theme manager. Hierarchy class \Drupal\Core\Theme\ThemeManager implements ThemeManagerInterface File core/lib/Drupal/Core/Theme/ThemeManager.php, line 15 Namespace Drupal\Core\Theme Members Name Modifiers Type Description ThemeManager::$activeTheme protected property Contains the current active theme. ThemeManager::$moduleHandler protected property The module handler. ThemeManager::$root protected property The app

ThemeManager::$activeTheme

Contains the current active theme. Type: \Drupal\Core\Theme\ActiveTheme File core/lib/Drupal/Core/Theme/ThemeManager.php, line 36 Class ThemeManager Provides the default implementation of a theme manager. Namespace Drupal\Core\Theme Code protected $activeTheme;

ThemeInstaller::__construct

public ThemeInstaller::__construct(ThemeHandlerInterface $theme_handler, ConfigFactoryInterface $config_factory, ConfigInstallerInterface $config_installer, ModuleHandlerInterface $module_handler, ConfigManagerInterface $config_manager, AssetCollectionOptimizerInterface $css_collection_optimizer, RouteBuilderInterface $route_builder, LoggerInterface $logger, StateInterface $state) Constructs a new ThemeInstaller. Parameters \Drupal\Core\Extension\ThemeHandlerInterface $theme_handler: The theme

ThemeInstallerInterface::install

public ThemeInstallerInterface::install(array $theme_list, $install_dependencies = TRUE) Installs a given list of themes. Parameters array $theme_list: An array of theme names. bool $install_dependencies: (optional) If TRUE, dependencies will automatically be installed in the correct order. This incurs a significant performance cost, so use FALSE if you know $theme_list is already complete and in the correct order. Return value bool Whether any of the given themes have been installed. Throws

ThemeInstaller::themeRegistryRebuild

protected ThemeInstaller::themeRegistryRebuild() Wraps drupal_theme_rebuild(). File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 290 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected function themeRegistryRebuild() { drupal_theme_rebuild(); }