You are here

shield.services.yml in Shield 8

File

shield.services.yml
View source
  1. services:
  2. shield.middleware:
  3. class: Drupal\shield\ShieldMiddleware
  4. arguments: ['@config.factory', '@entity_type.manager', '@path.matcher']
  5. tags:
  6. # Ensure to come before page caching, so you don't serve cached pages to
  7. # banned users.
  8. - { name: http_middleware, priority: 250 }