function public function Theme::getTitle

8.x-3.x Theme.php public Theme::getTitle()

Retrieves the human-readable title of the theme.

Return value

string The theme title or machine name as a fallback.

Class

Theme
Defines a theme object.

Namespace

Drupal\bootstrap

Source src/Theme.php (line 603)

public function getTitle() {
  return $this->getInfo('name') ? : $this->getName();
}