public function Theme::getTitle in Express 8
Retrieves the human-readable title of the theme.
Return value
string The theme title or machine name as a fallback.
File
- themes/
contrib/ bootstrap/ src/ Theme.php, line 600 - Contains \Drupal\bootstrap.
Class
- Theme
- Defines a theme object.
Namespace
Drupal\bootstrapCode
public function getTitle() {
return $this
->getInfo('name') ?: $this
->getName();
}