function ThemeManagerInterface::getActiveTheme
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::getActiveTheme()
- 10 core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::getActiveTheme()
- 11.x core/lib/Drupal/Core/Theme/ThemeManagerInterface.php \Drupal\Core\Theme\ThemeManagerInterface::getActiveTheme()
Returns the active theme object.
Return value
\Drupal\Core\Theme\ActiveTheme
1 method overrides ThemeManagerInterface::getActiveTheme()
- ThemeManager::getActiveTheme in core/
lib/ Drupal/ Core/ Theme/ ThemeManager.php - Returns the active theme object.
File
-
core/
lib/ Drupal/ Core/ Theme/ ThemeManagerInterface.php, line 34
Class
- ThemeManagerInterface
- Provides a high level access to the active theme and methods to use it.
Namespace
Drupal\Core\ThemeCode
public function getActiveTheme();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.