Registry::$theme

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::theme
  2. 10 core/lib/Drupal/Core/Theme/Registry.php \Drupal\Core\Theme\Registry::theme
  3. 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 33

Class

Registry
Defines the theme registry service.

Namespace

Drupal\Core\Theme

Code

protected $theme;

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