ActiveTheme::$name

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

The machine name of the active theme.

Type: string

File

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

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

protected $name;

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