public function ThemeManager::resetActiveTheme in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::resetActiveTheme()
Resets the current active theme.
Note: This method should not be used in common cases, just in special cases like tests.
Return value
$this
Overrides ThemeManagerInterface::resetActiveTheme
File
- core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php, line 117 - Contains \Drupal\Core\Theme\ThemeManager.
Class
- ThemeManager
- Provides the default implementation of a theme manager.
Namespace
Drupal\Core\ThemeCode
public function resetActiveTheme() {
$this->activeTheme = NULL;
return $this;
}