You are here

user_restrictions.routing.yml in User restrictions 8

File

user_restrictions.routing.yml
View source
  1. entity.user_restrictions.collection:
  2. path: '/admin/config/people/user-restrictions'
  3. defaults:
  4. _entity_list: 'user_restrictions'
  5. _title: 'User restrictions'
  6. requirements:
  7. _permission: 'administer user restrictions'
  8. user_restrictions.add:
  9. path: '/admin/config/people/user-restrictions/add'
  10. defaults:
  11. _entity_form: 'user_restrictions.add'
  12. _title: 'Add user restriction'
  13. requirements:
  14. _permission: 'administer user restrictions'
  15. entity.user_restrictions.edit_form:
  16. path: '/admin/config/people/user-restrictions/manage/{user_restrictions}'
  17. defaults:
  18. _entity_form: 'user_restrictions.edit'
  19. _title: 'Edit user restriction'
  20. requirements:
  21. _permission: 'administer user restrictions'
  22. entity.user_restrictions.delete_form:
  23. path: '/admin/config/people/user-restrictions/manage/{user_restrictions}/delete'
  24. defaults:
  25. _entity_form: 'user_restrictions.delete'
  26. _title: 'Delete user restriction'
  27. requirements:
  28. _permission: 'administer user restrictions'