ThemeManager::$activeTheme

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

Contains the current active theme.

Type: \Drupal\Core\Theme\ActiveTheme

File

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

Class

ThemeManager
Provides the default implementation of a theme manager.

Namespace

Drupal\Core\Theme

Code

protected $activeTheme;

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