function ThemeManager::resetActiveTheme

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::resetActiveTheme()
  2. 8.9.x core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::resetActiveTheme()
  3. 10 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::resetActiveTheme()

Overrides ThemeManagerInterface::resetActiveTheme

File

core/lib/Drupal/Core/Theme/ThemeManager.php, line 110

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

public function resetActiveTheme() {
    $this->activeTheme = NULL;
    return $this;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.