ThemeInstallerInterface

Manages theme installation/uninstallation. Hierarchy interface \Drupal\Core\Extension\ThemeInstallerInterface File core/lib/Drupal/Core/Extension/ThemeInstallerInterface.php, line 8 Namespace Drupal\Core\Extension Members Name Modifiers Type Description ThemeInstallerInterface::install public function Installs a given list of themes. ThemeInstallerInterface::uninstall public function Uninstalls a given list of themes.

ThemeInstaller::uninstall

public ThemeInstaller::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. Overrides ThemeInstallerInterface::uninstall See also hook_themes_uninstalled() File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 214 Class Them

ThemeInstaller::$state

Type: \Drupal\Core\State\StateInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 37 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $state;

ThemeInstaller::systemListReset

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

ThemeInstaller::install

public ThemeInstaller::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 \Drupal\

ThemeInstaller::$routeBuilder

Type: \Drupal\Core\Routing\RouteBuilderInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 52 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $routeBuilder;

ThemeInstaller::resetSystem

protected ThemeInstaller::resetSystem() Resets some other systems like rebuilding the route information or caches. File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 275 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected function resetSystem() { if ($this->routeBuilder) { $this->routeBuilder->setRebuildNeeded(); } $this->systemListReset(); // @todo It feels wrong to have the requirement to cl

ThemeInstaller::$moduleHandler

Type: \Drupal\Core\Extension\ModuleHandlerInterface File core/lib/Drupal/Core/Extension/ThemeInstaller.php, line 32 Class ThemeInstaller Manages theme installation/uninstallation. Namespace Drupal\Core\Extension Code protected $moduleHandler;

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

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