You are here

entity_legal.routing.yml in Entity Legal 8

File

entity_legal.routing.yml
View source
  1. entity_legal.list_documents:
  2. path: '/admin/structure/legal'
  3. defaults:
  4. _entity_list: 'entity_legal_document'
  5. _title: 'Legal Documents'
  6. requirements:
  7. _permission: 'administer entity legal'
  8. entity_legal.add_document:
  9. path: '/admin/structure/legal/add'
  10. defaults:
  11. _entity_form: 'entity_legal_document.add'
  12. _title: 'Add legal document'
  13. requirements:
  14. _permission: 'administer entity legal'
  15. entity.entity_legal_document.edit_form:
  16. path: '/admin/structure/legal/manage/{entity_legal_document}'
  17. defaults:
  18. _entity_form: 'entity_legal_document.edit'
  19. _title: 'Edit legal document'
  20. requirements:
  21. _permission: 'administer entity legal'
  22. entity.entity_legal_document.delete_form:
  23. path: '/admin/structure/legal/manage/{entity_legal_document}/delete'
  24. defaults:
  25. _entity_form: 'entity_legal_document.delete'
  26. _title: 'Delete legal document'
  27. requirements:
  28. _permission: 'administer entity legal'