forked from amcgowanca/shield_agent
-
Notifications
You must be signed in to change notification settings - Fork 1
/
shield_agent.services.yml
26 lines (26 loc) · 1.06 KB
/
shield_agent.services.yml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
services:
shield_agent.request_subscriber:
class: Drupal\shield_agent\EventSubscriber\RequestSubscriber
arguments: ['@current_route_match', '@config.factory', '@router.admin_context', '@current_user']
tags:
- { name: event_subscriber }
shield_agent.http_4xx_conversion:
class: Drupal\shield_agent\EventSubscriber\Http4xxExceptionSubscriber
arguments: ['@current_route_match', '@config.factory', '@current_user']
tags:
- { name: event_subscriber }
shield_agent.http_basicauth_middlware:
class: Drupal\shield_agent\HttpBasicAuthMiddleware
arguments: ['@config.factory', '@current_route_match']
tags:
- { name: http_middleware, priority: 500 }
shield_agent.theme.public_dbupdate_negotiator:
class: Drupal\shield_agent\Theme\PublicDbUpdateNegotiator
arguments: ['@config.factory']
tags:
- { name: theme_negotiator, priority: 125 }
cache_context.shield_agent_environment:
class: Drupal\shield_agent\Cache\Context\Environment
arguments: ['@config.factory']
tags:
- { name: cache.context }