You are here

ban.routing.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/ban/ban.routing.yml
core/modules/ban/ban.routing.yml

File

core/modules/ban/ban.routing.yml
View source
  1. ban.admin_page:
  2. path: '/admin/config/people/ban/{default_ip}'
  3. defaults:
  4. _form: '\Drupal\ban\Form\BanAdmin'
  5. _title: 'IP address bans'
  6. default_ip: ''
  7. requirements:
  8. _permission: 'ban IP addresses'
  9. ban.delete:
  10. path: '/admin/config/people/ban/delete/{ban_id}'
  11. defaults:
  12. _form: '\Drupal\ban\Form\BanDelete'
  13. _title: 'Delete IP address'
  14. requirements:
  15. _permission: 'ban IP addresses'