function ThemeInstaller::resetSystem
Resets some other systems like rebuilding the route information or caches.
2 calls to ThemeInstaller::resetSystem()
- ThemeInstaller::install in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Installs a given list of themes.
- ThemeInstaller::uninstall in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php - Uninstalls a given list of themes.
File
-
core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php, line 313
Class
- ThemeInstaller
- Manages theme installation/uninstallation.
Namespace
Drupal\Core\ExtensionCode
protected function resetSystem() {
if ($this->routeBuilder) {
$this->routeBuilder
->setRebuildNeeded();
}
$this->themeRegistry
->reset();
}