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::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(); }

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