function ActiveTheme::getName

Returns the machine name of the theme.

Return value

string The machine name for the theme.

File

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

Class

ActiveTheme
Defines a theme and its information needed at runtime.

Namespace

Drupal\Core\Theme

Code

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

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