public function SinglePageSiteManager::getPageTitle in Single Page Site 8
Same name and namespace in other branches
- 2.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getPageTitle()
- 2.0.x src/Manager/SinglePageSiteManager.php \Drupal\single_page_site\Manager\SinglePageSiteManager::getPageTitle()
Returns page title.
Return value
array|mixed|null|string Returns the Page Title.
File
- src/
Manager/ SinglePageSiteManager.php, line 83
Class
- SinglePageSiteManager
- Class SinglePageSiteManager.
Namespace
Drupal\single_page_site\ManagerCode
public function getPageTitle() {
return empty($this->settings
->get('title')) ? 'Single page site' : $this->settings
->get('title');
}