ThemeInstaller::resetSystem
protected function 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\ExtensionCode
protected function resetSystem() { if ($this->routeBuilder) { $this->routeBuilder->setRebuildNeeded(); } $this->systemListReset(); // @todo It feels wrong to have the requirement to clear the local tasks // cache here. Cache::invalidateTags(array('local_task')); $this->themeRegistryRebuild(); }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Core!Extension!ThemeInstaller.php/function/ThemeInstaller::resetSystem/8.1.x