You are here

toc_api.routing.yml in TOC API 8

File

toc_api.routing.yml
View source
  1. entity.toc_type.collection:
  2. path: '/admin/structure/toc'
  3. defaults:
  4. _entity_list: 'toc_type'
  5. _title: 'Table of contents types'
  6. requirements:
  7. _permission: 'administer table of contents types'
  8. entity.toc_type.add_form:
  9. path: '/admin/structure/toc/add'
  10. defaults:
  11. _title: 'Add table of contents type'
  12. _entity_form: toc_type.add
  13. requirements:
  14. _entity_create_access: toc_type
  15. entity.toc_type.edit_form:
  16. path: '/admin/structure/toc/manage/{toc_type}'
  17. defaults:
  18. _title: 'Edit table of contents type'
  19. _entity_form: toc_type.edit
  20. requirements:
  21. _entity_access: toc_type.update
  22. entity.toc_type.delete_form:
  23. path: '/admin/structure/toc/manage/{toc_type}/delete'
  24. defaults:
  25. _title: 'Delete table of contents type'
  26. _entity_form: toc_type.delete
  27. requirements:
  28. _entity_access: toc_type.delete