public function SitemapController::getTitle in Sitemap 8
Same name and namespace in other branches
- 8.2 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 68
Class
- SitemapController
- Controller routines for update routes.
Namespace
Drupal\sitemap\ControllerCode
public function getTitle() {
$config = \Drupal::config('sitemap.settings');
return $config
->get('page_title');
}