You are here

simplesitemap.routing.yml in Simple XML sitemap 8

File

simplesitemap.routing.yml
View source
  1. simplesitemap.sitemap:
  2. path: '/sitemap.xml'
  3. defaults:
  4. _controller: '\Drupal\simplesitemap\Controller\SimplesitemapController::get_sitemap'
  5. requirements:
  6. _access: 'TRUE'
  7. simplesitemap.chunk:
  8. path: '/sitemaps/{sitemap_id}/sitemap.xml'
  9. defaults:
  10. _controller: '\Drupal\simplesitemap\Controller\SimplesitemapController::get_sitemap'
  11. requirements:
  12. _access: 'TRUE'
  13. simplesitemap.settings:
  14. path: '/admin/config/search/simplesitemap'
  15. defaults:
  16. _form: '\Drupal\simplesitemap\Form\SimplesitemapSettingsForm'
  17. _title: 'Simple XML Sitemap Settings'
  18. requirements:
  19. _permission: 'administer sitemap settings'
  20. simplesitemap.settings_custom:
  21. path: '/admin/config/search/simplesitemap/custom'
  22. defaults:
  23. _form: '\Drupal\simplesitemap\Form\SimplesitemapCustomLinksForm'
  24. _title: 'Simple XML Sitemap Settings'
  25. requirements:
  26. _permission: 'administer sitemap settings'