You are here

public function SitemapController::getTitle in Site map 8

Returns site map page's title.

Return value

string Site map page title.

1 string reference to 'SitemapController::getTitle'
site_map.routing.yml in ./site_map.routing.yml
site_map.routing.yml

File

src/Controller/SitemapController.php, line 67

Class

SitemapController
Controller routines for update routes.

Namespace

Drupal\site_map\Controller

Code

public function getTitle() {
  $config = \Drupal::config('site_map.settings');
  return $config
    ->get('page_title');
}