You are here

public function SinglePageSiteController::setTitle in Single Page Site 8

Same name and namespace in other branches
  1. 2.x src/Controller/SinglePageSiteController.php \Drupal\single_page_site\Controller\SinglePageSiteController::setTitle()
  2. 2.0.x src/Controller/SinglePageSiteController.php \Drupal\single_page_site\Controller\SinglePageSiteController::setTitle()

Sets title.

1 string reference to 'SinglePageSiteController::setTitle'
single_page_site.routing.yml in ./single_page_site.routing.yml
single_page_site.routing.yml

File

src/Controller/SinglePageSiteController.php, line 62

Class

SinglePageSiteController
Class SinglePageSiteController.

Namespace

Drupal\single_page_site\Controller

Code

public function setTitle() {
  return $this->manager
    ->getPageTitle();
}