You are here

sharerich.routing.yml in Sharerich 8

File

sharerich.routing.yml
View source
  1. sharerich.admin_settings_form:
  2. path: '/admin/config/sharerich/settings'
  3. defaults:
  4. _form: '\Drupal\sharerich\Form\AdminSettingsForm'
  5. _title: 'Sharerich Configuration'
  6. requirements:
  7. _permission: 'administer sharerich'
  8. options:
  9. _admin_route: TRUE
  10. # Sharerich routing definition
  11. entity.sharerich.collection:
  12. path: '/admin/structure/sharerich'
  13. defaults:
  14. _entity_list: 'sharerich'
  15. _title: 'Sharerich'
  16. requirements:
  17. _permission: 'administer sharerich'
  18. options:
  19. _admin_route: TRUE
  20. entity.sharerich.add_form:
  21. path: '/admin/structure/sharerich/add'
  22. defaults:
  23. _entity_form: 'sharerich.add'
  24. _title: 'Add Sharerich set'
  25. requirements:
  26. _permission: 'administer sharerich'
  27. options:
  28. _admin_route: TRUE
  29. entity.sharerich.edit_form:
  30. path: '/admin/structure/sharerich/{sharerich}'
  31. defaults:
  32. _entity_form: 'sharerich.edit'
  33. _title: 'Edit Sharerich set'
  34. requirements:
  35. _permission: 'administer sharerich'
  36. options:
  37. _admin_route: TRUE
  38. entity.sharerich.delete_form:
  39. path: '/admin/structure/sharerich/{sharerich}/delete'
  40. defaults:
  41. _entity_form: 'sharerich.delete'
  42. _title: 'Delete Sharerich set'
  43. requirements:
  44. _permission: 'administer sharerich'
  45. options:
  46. _admin_route: TRUE