-
Notifications
You must be signed in to change notification settings - Fork 5
/
embargo.services.yml
71 lines (71 loc) · 2.14 KB
/
embargo.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
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
---
services:
logger.channel.embargo:
parent: logger.channel_base
arguments: ['embargo']
access_check.embargo:
class: Drupal\embargo\Access\EmbargoAccessCheck
arguments:
- '@entity_type.manager'
- '@request_stack'
- '@current_user'
embargo.query_tagger:
class: Drupal\embargo\Access\QueryTagger
arguments:
- '@current_user'
- '@request_stack'
- '@database'
- '@entity_type.manager'
- '@datetime.time'
- '@date.formatter'
- '@event_dispatcher'
embargo.route_subscriber:
class: Drupal\embargo\Routing\EmbargoRouteSubscriber
arguments: ['@entity_type.manager']
tags:
- { name: 'event_subscriber' }
embargo.ip_range_redirect:
class: '\Drupal\embargo\EventSubscriber\IpRangeRedirect'
arguments:
- '@entity_type.manager'
- '@current_user'
- '@url_generator'
tags:
- { name: 'event_subscriber' }
embargo.event_subscriber.islandora_hierarchical_access:
class: Drupal\embargo\EventSubscriber\IslandoraHierarchicalAccessEventSubscriber
factory: [null, 'create']
arguments:
- '@service_container'
tags:
- { name: 'event_subscriber' }
embargo.search_api_tracker_helper:
class: Drupal\embargo\SearchApiTracker
factory: [null, 'create']
arguments:
- '@service_container'
embargo.search_api_solr_join_processor_event_subscriber:
class: Drupal\embargo\EventSubscriber\EmbargoJoinProcessorEventSubscriber
factory: [null, 'create']
arguments:
- '@service_container'
tags:
- { name: 'event_subscriber' }
cache_context.ip.embargo_range:
class: Drupal\embargo\Cache\Context\IpRangeCacheContext
arguments:
- '@request_stack'
- '@entity_type.manager'
tags:
- { name: 'cache.context' }
embargo.tagging_event_subscriber:
class: Drupal\embargo\EventSubscriber\TaggingEventSubscriber
tags:
- { name: 'event_subscriber' }
cache_context.user.embargo__has_exemption:
class: Drupal\embargo\Cache\Context\UserExemptedCacheContext
arguments:
- '@current_user'
- '@entity_type.manager'
tags:
- { name: 'cache.context' }