You are here

metatag.routing.yml in Metatag 8

File

metatag.routing.yml
View source
  1. # MetatagDefaults routing definition
  2. entity.metatag_defaults.collection:
  3. path: '/admin/config/search/metatag'
  4. defaults:
  5. _entity_list: 'metatag_defaults'
  6. _title: 'Metatag'
  7. requirements:
  8. _permission: 'administer meta tags'
  9. options:
  10. _admin_route: TRUE
  11. entity.metatag_defaults.add_form:
  12. path: '/admin/config/search/metatag/add'
  13. defaults:
  14. _entity_form: 'metatag_defaults.add'
  15. _title: 'Add default meta tags'
  16. requirements:
  17. _permission: 'administer meta tags'
  18. options:
  19. _admin_route: TRUE
  20. entity.metatag_defaults.edit_form:
  21. path: '/admin/config/search/metatag/{metatag_defaults}'
  22. defaults:
  23. _entity_form: 'metatag_defaults.edit'
  24. _title: 'Edit default meta tags'
  25. requirements:
  26. _permission: 'administer meta tags'
  27. options:
  28. _admin_route: TRUE
  29. entity.metatag_defaults.delete_form:
  30. path: '/admin/config/search/metatag/{metatag_defaults}/delete'
  31. defaults:
  32. _entity_form: 'metatag_defaults.delete'
  33. _title: 'Delete default meta tags'
  34. requirements:
  35. _permission: 'administer meta tags'
  36. options:
  37. _admin_route: TRUE
  38. entity.metatag_defaults.revert_form:
  39. path: '/admin/config/search/metatag/{metatag_defaults}/revert'
  40. defaults:
  41. _entity_form: 'metatag_defaults.revert'
  42. _title: 'Revert default meta tags'
  43. requirements:
  44. _permission: 'administer meta tags'
  45. options:
  46. _admin_route: TRUE
  47. metatag.settings:
  48. path: '/admin/config/search/metatag/settings'
  49. defaults:
  50. _form: '\Drupal\metatag\Form\MetatagSettingsForm'
  51. _title: 'Configure the Metatag module'
  52. requirements:
  53. _permission: 'administer meta tags'
  54. options:
  55. _admin_route: TRUE
  56. # A custom report that shows all meta tags and what module they come from.
  57. metatag.reports_plugins:
  58. path: '/admin/reports/metatag-plugins'
  59. defaults:
  60. _controller: '\Drupal\metatag\Controller\MetatagController::reportPlugins'
  61. _title: 'Metatag plugins'
  62. requirements:
  63. _permission: 'administer meta tags'