You are here

advban.routing.yml in Advanced ban 8

File

advban.routing.yml
View source
  1. advban.admin_page:
  2. path: '/admin/config/people/advban/{ban_id}'
  3. defaults:
  4. _form: '\Drupal\advban\Form\AdvbanAdmin'
  5. _title: 'Advanced IP address bans'
  6. ban_id: NULL
  7. requirements:
  8. _permission: 'advanced ban IP addresses'
  9. advban.delete:
  10. path: '/admin/config/people/advban/delete/{ban_id}'
  11. defaults:
  12. _form: '\Drupal\advban\Form\AdvbanDelete'
  13. _title: 'Delete IP address'
  14. requirements:
  15. _permission: 'advanced ban IP addresses'
  16. advban.delete_all:
  17. path: '/admin/config/people/advban/delete_all'
  18. defaults:
  19. _form: '\Drupal\advban\Form\AdvbanDeleteAll'
  20. _title: 'Delete All IP addresses'
  21. requirements:
  22. _permission: 'advanced ban IP addresses'
  23. advban.settings:
  24. path: '/admin/config/people/advban/settings'
  25. defaults:
  26. _form: '\Drupal\advban\Form\AdvbanSettingsForm'
  27. _title: 'Advanced ban settings'
  28. requirements:
  29. _permission: 'advanced ban IP addresses'
  30. advban.search:
  31. path: '/admin/config/people/advban/search'
  32. defaults:
  33. _form: '\Drupal\advban\Form\AdvbanSearchForm'
  34. _title: 'Search IP'
  35. requirements:
  36. _permission: 'advanced ban IP addresses'