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'
File
- src/
Controller/ SitemapController.php, line 67
Class
- SitemapController
- Controller routines for update routes.
Namespace
Drupal\site_map\ControllerCode
public function getTitle() {
$config = \Drupal::config('site_map.settings');
return $config
->get('page_title');
}