You are here

gridstack_ui.routing.yml in GridStack 8

Same filename and directory in other branches
  1. 8.2 modules/gridstack_ui/gridstack_ui.routing.yml
modules/gridstack_ui/gridstack_ui.routing.yml

File

modules/gridstack_ui/gridstack_ui.routing.yml
View source
  1. # The routing.yml file defines the routes for the management pages: collection,
  2. # add, edit, delete.
  3. gridstack.settings:
  4. path: '/admin/structure/gridstack/ui'
  5. defaults:
  6. _form: '\Drupal\gridstack_ui\Form\GridStackSettingsForm'
  7. _title: 'GridStack UI'
  8. requirements:
  9. _permission: 'administer gridstack'
  10. entity.gridstack.collection:
  11. path: '/admin/structure/gridstack'
  12. defaults:
  13. _entity_list: 'gridstack'
  14. _title: 'GridStack Configuration'
  15. requirements:
  16. _permission: 'administer gridstack'
  17. gridstack.optionset_page_add:
  18. path: '/admin/structure/gridstack/add'
  19. defaults:
  20. _entity_form: 'gridstack.add'
  21. _title: 'Add gridstack'
  22. requirements:
  23. _permission: 'administer gridstack'
  24. entity.gridstack.edit_form:
  25. path: '/admin/structure/gridstack/{gridstack}'
  26. defaults:
  27. _entity_form: 'gridstack.edit'
  28. _title: 'Edit gridstack'
  29. requirements:
  30. _permission: 'administer gridstack'
  31. entity.gridstack.duplicate_form:
  32. path: '/admin/structure/gridstack/{gridstack}/duplicate'
  33. defaults:
  34. _entity_form: 'gridstack.duplicate'
  35. _title: 'Duplicate gridstack optionset'
  36. requirements:
  37. _permission: 'administer gridstack'
  38. entity.gridstack.delete_form:
  39. path: '/admin/structure/gridstack/{gridstack}/delete'
  40. defaults:
  41. _entity_form: 'gridstack.delete'
  42. _title: 'Delete gridstack'
  43. requirements:
  44. _permission: 'administer gridstack'