ActiveTheme::$extension

Same name in other branches
  1. 9 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::extension
  2. 8.9.x core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::extension
  3. 11.x core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::extension

The extension object.

Type: \Drupal\Core\Extension\Extension

File

core/lib/Drupal/Core/Theme/ActiveTheme.php, line 63

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

protected $extension;

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