public function ActiveTheme::getName in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Core/Theme/ActiveTheme.php \Drupal\Core\Theme\ActiveTheme::getName()
Returns the machine name of the theme.
Return value
string
File
- core/
lib/ Drupal/ Core/ Theme/ ActiveTheme.php, line 158
Class
- ActiveTheme
- Defines a theme and its information needed at runtime.
Namespace
Drupal\Core\ThemeCode
public function getName() {
return $this->name;
}