You are here

public function Theme::getName in Express 8

Returns the machine name of the theme.

Return value

string The machine name of the theme.

9 calls to Theme::getName()
Theme::getAncestry in themes/contrib/bootstrap/src/Theme.php
Retrieves the full base/sub-theme ancestry of a theme.
Theme::getCache in themes/contrib/bootstrap/src/Theme.php
Retrieves an individual item from a theme's cache in the database.
Theme::getPendingUpdates in themes/contrib/bootstrap/src/Theme.php
Retrieves pending updates for the theme.
Theme::getStorage in themes/contrib/bootstrap/src/Theme.php
Retrieves the theme's cache from the database.
Theme::getTitle in themes/contrib/bootstrap/src/Theme.php
Retrieves the human-readable title of the theme.

... See full list

File

themes/contrib/bootstrap/src/Theme.php, line 423
Contains \Drupal\bootstrap.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Code

public function getName() {
  return $this->theme
    ->getName();
}