public function SitemapController::getTitle in Sitemap 8.2
Same name and namespace in other branches
- 8 src/Controller/SitemapController.php \Drupal\sitemap\Controller\SitemapController::getTitle()
- 2.0.x src/Controller/SitemapController.php \Drupal\sitemap\Controller\SitemapController::getTitle()
Returns sitemap page's title.
Return value
string Sitemap page title.
1 string reference to 'SitemapController::getTitle'
File
- src/
Controller/ SitemapController.php, line 108
Class
- SitemapController
- Controller routines for update routes.
Namespace
Drupal\sitemap\ControllerCode
public function getTitle() {
$config = $this->configFactory
->get('sitemap.settings');
return $config
->get('page_title');
}