Drupal investigation

ban.services.yml 389B

1234567891011121314
  1. services:
  2. ban.ip_manager:
  3. class: Drupal\ban\BanIpManager
  4. arguments: ['@database']
  5. tags:
  6. - { name: backend_overridable }
  7. ban.middleware:
  8. class: Drupal\ban\BanMiddleware
  9. arguments: ['@ban.ip_manager']
  10. tags:
  11. # Ensure to come before page caching, so you don't serve cached pages to
  12. # banned users.
  13. - { name: http_middleware, priority: 250 }