entity_legal.routing.yml in Entity Legal 8
File
entity_legal.routing.yml
View source
- entity_legal.list_documents:
- path: '/admin/structure/legal'
- defaults:
- _entity_list: 'entity_legal_document'
- _title: 'Legal Documents'
- requirements:
- _permission: 'administer entity legal'
-
- entity_legal.add_document:
- path: '/admin/structure/legal/add'
- defaults:
- _entity_form: 'entity_legal_document.add'
- _title: 'Add legal document'
- requirements:
- _permission: 'administer entity legal'
-
- entity.entity_legal_document.edit_form:
- path: '/admin/structure/legal/manage/{entity_legal_document}'
- defaults:
- _entity_form: 'entity_legal_document.edit'
- _title: 'Edit legal document'
- requirements:
- _permission: 'administer entity legal'
-
- entity.entity_legal_document.delete_form:
- path: '/admin/structure/legal/manage/{entity_legal_document}/delete'
- defaults:
- _entity_form: 'entity_legal_document.delete'
- _title: 'Delete legal document'
- requirements:
- _permission: 'administer entity legal'
-