You are here

sitemap.routing.yml in Sitemap 8

Same filename and directory in other branches
  1. 8.2 sitemap.routing.yml
  2. 2.0.x sitemap.routing.yml

File

sitemap.routing.yml
View source
  1. sitemap.settings:
  2. path: '/admin/config/search/sitemap'
  3. defaults:
  4. _form: '\Drupal\sitemap\Form\SitemapSettingsForm'
  5. _title: 'Sitemap'
  6. requirements:
  7. _permission: 'administer sitemap'
  8. sitemap.page:
  9. path: '/sitemap'
  10. defaults:
  11. _controller: '\Drupal\sitemap\Controller\SitemapController::buildPage'
  12. # Dynamic title.
  13. _title_callback: '\Drupal\sitemap\Controller\SitemapController::getTitle'
  14. requirements:
  15. _permission: 'access sitemap'