You are here

agreement.routing.yml in Agreement 8.2

Same filename and directory in other branches
  1. 3.0.x agreement.routing.yml

File

agreement.routing.yml
View source
  1. entity.agreement.collection:
  2. path: '/admin/config/people/agreement'
  3. defaults:
  4. _title: 'Agreements'
  5. _entity_list: 'agreement'
  6. requirements:
  7. _permission: 'administer agreements'
  8. agreement.add:
  9. path: '/admin/config/people/agreement/add'
  10. defaults:
  11. _entity_form: 'agreement.default'
  12. _title: 'Add Agreement'
  13. requirements:
  14. _permission: 'administer agreements'
  15. entity.agreement.edit_form:
  16. path: '/admin/config/people/agreement/manage/{agreement}'
  17. defaults:
  18. _entity_form: 'agreement.default'
  19. requirements:
  20. agreement: '[a-z0-9_]+'
  21. _permission: 'administer agreements'
  22. options:
  23. parameters:
  24. agreement:
  25. type: 'entity:agreement'
  26. entity.agreement.delete_form:
  27. path: '/admin/config/people/agreement/manage/{agreement}/delete'
  28. defaults:
  29. _entity_form: 'agreement.delete'
  30. requirements:
  31. agreement: '[a-z0-9_]+'
  32. _permission: 'administer agreements'
  33. options:
  34. parameters:
  35. agreement:
  36. type: 'entity:agreement'