function ThemeManagerInterface::resetActiveTheme
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::resetActiveTheme()
- 8.9.x core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::resetActiveTheme()
- 10 core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::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
1 method overrides ThemeManagerInterface::resetActiveTheme()
- ThemeManager::resetActiveTheme in core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php - Resets the current active theme.
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeManagerInterface.php, line 57
Class
- ThemeManagerInterface
- Provides a high level access to the active theme and methods to use it.
Namespace
Drupal\Core\ThemeCode
public function resetActiveTheme();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.