You are here

xmlsitemap_custom.routing.yml in XML sitemap 2.x

Same filename and directory in other branches
  1. 8 xmlsitemap_custom/xmlsitemap_custom.routing.yml
xmlsitemap_custom/xmlsitemap_custom.routing.yml

File

xmlsitemap_custom/xmlsitemap_custom.routing.yml
View source
  1. xmlsitemap_custom.list:
  2. path: '/admin/config/search/xmlsitemap/custom'
  3. defaults:
  4. _controller: '\Drupal\xmlsitemap_custom\Controller\XmlSitemapCustomListController::render'
  5. _title: 'Custom links'
  6. requirements:
  7. _permission: 'administer xmlsitemap'
  8. xmlsitemap_custom.add:
  9. path: '/admin/config/search/xmlsitemap/custom/add'
  10. defaults:
  11. _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomAddForm'
  12. _title: 'Add custom link'
  13. requirements:
  14. _permission: 'administer xmlsitemap'
  15. xmlsitemap_custom.edit:
  16. path: '/admin/config/search/xmlsitemap/custom/edit/{link}'
  17. defaults:
  18. _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomEditForm'
  19. _title: 'Edit custom link'
  20. requirements:
  21. _permission: 'administer xmlsitemap'
  22. xmlsitemap_custom.delete:
  23. path: '/admin/config/search/xmlsitemap/custom/delete/{link}'
  24. defaults:
  25. _form: '\Drupal\xmlsitemap_custom\Form\XmlSitemapCustomDeleteForm'
  26. _title: 'Delete custom link'
  27. requirements:
  28. _permission: 'administer xmlsitemap'