ban.routing.yml
Same filename in other branches
4 string references to YAML keys in ban.routing.yml
- BanAdmin::buildForm in core/
modules/ ban/ src/ Form/ BanAdmin.php - BanAdmin::submitForm in core/
modules/ ban/ src/ Form/ BanAdmin.php - Form submission handler.
- BanDelete::getCancelUrl in core/
modules/ ban/ src/ Form/ BanDelete.php - Returns the route to go to if the user cancels the action.
- ban_help in core/
modules/ ban/ ban.module - Implements hook_help().
File
-
core/
modules/ ban/ ban.routing.yml
View source
- ban.admin_page:
- path: '/admin/config/people/ban/{default_ip}'
- defaults:
- _form: '\Drupal\ban\Form\BanAdmin'
- _title: 'IP address bans'
- default_ip: ''
- requirements:
- _permission: 'ban IP addresses'
-
- ban.delete:
- path: '/admin/config/people/ban/delete/{ban_id}'
- defaults:
- _form: '\Drupal\ban\Form\BanDelete'
- _title: 'Delete IP address'
- requirements:
- _permission: 'ban IP addresses'
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.