You are here

config_perms.routing.yml in Custom Permissions 8.2

Same filename and directory in other branches
  1. 8 config_perms.routing.yml

File

config_perms.routing.yml
View source
  1. # CustomPermsEntity routing definition
  2. entity.custom_perms_entity.delete_form:
  3. path: '/admin/structure/custom_perms_entity/{custom_perms_entity}/delete'
  4. defaults:
  5. _entity_form: 'custom_perms_entity.delete'
  6. _title: 'Delete Custom perms entity'
  7. requirements:
  8. _permission: 'administer site configuration'
  9. options:
  10. _admin_route: TRUE
  11. custom_perms_select_list_form:
  12. path: '/admin/people/custom-permissions/list'
  13. defaults:
  14. _title: 'Custom permissions list forms'
  15. _form: 'Drupal\config_perms\Form\ConfigPermListForm'
  16. requirements:
  17. _permission: 'administer config permissions'
  18. options:
  19. _admin_route: TRUE