Registry::$theme
Same name in other branches
- 9 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::theme
- 8.9.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::theme
- 11.x core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::theme
The theme object representing the active theme for this registry.
Type: \Drupal\Core\Theme\ActiveTheme
File
-
core/
lib/ Drupal/ Core/ Theme/ Registry.php, line 36
Class
- Registry
- Defines the theme registry service.
Namespace
Drupal\Core\ThemeCode
protected $theme;
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.