function ThemeManager::hasActiveTheme
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::hasActiveTheme()
- 10 core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::hasActiveTheme()
- 11.x core/lib/Drupal/Core/Theme/ThemeManager.php \Drupal\Core\Theme\ThemeManager::hasActiveTheme()
Overrides ThemeManagerInterface::hasActiveTheme
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php, line 104
Class
- ThemeManager
- Provides the default implementation of a theme manager.
Namespace
Drupal\Core\ThemeCode
public function hasActiveTheme() {
return isset($this->activeTheme);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.