ban.services.yml in Drupal 8
Same filename and directory in other branches
core/modules/ban/ban.services.yml
File
core/modules/ban/ban.services.ymlView source
- services:
- ban.ip_manager:
- class: Drupal\ban\BanIpManager
- arguments: ['@database']
- tags:
- - { name: backend_overridable }
- ban.middleware:
- class: Drupal\ban\BanMiddleware
- arguments: ['@ban.ip_manager']
- tags:
- # Ensure to come before page caching, so you don't serve cached pages to
- # banned users.
- - { name: http_middleware, priority: 250 }