8.x-3.x Theme.php |
public Theme::getName() |
Returns the machine name of the theme.
Return value
string
The machine name of the theme.
Class
- Theme
- Defines a theme object.
Namespace
Drupal\bootstrap
Source src/Theme.php (line 481)
public function getName() {
return $this->theme->getName();
}