function ThemeInstaller::resetSystem
Same name in other branches
- 9 core/lib/Drupal/Core/Extension/ThemeInstaller.php \Drupal\Core\Extension\ThemeInstaller::resetSystem()
- 8.9.x core/lib/Drupal/Core/Extension/ThemeInstaller.php \Drupal\Core\Extension\ThemeInstaller::resetSystem()
- 11.x core/lib/Drupal/Core/Extension/ThemeInstaller.php \Drupal\Core\Extension\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 - ThemeInstaller::uninstall in core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php
File
-
core/
lib/ Drupal/ Core/ Extension/ ThemeInstaller.php, line 322
Class
- ThemeInstaller
- Manages theme installation/uninstallation.
Namespace
Drupal\Core\ExtensionCode
protected function resetSystem() {
if ($this->routeBuilder) {
$this->routeBuilder
->setRebuildNeeded();
}
$this->themeRegistry
->reset();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.