-
Notifications
You must be signed in to change notification settings - Fork 0
/
silverback_gatsby.services.yml
50 lines (44 loc) · 1.51 KB
/
silverback_gatsby.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
services:
silverback_gatsby.feed_manager:
class: Drupal\silverback_gatsby\Plugin\FeedPluginManager
arguments:
- 'Plugin/Gatsby/Feed'
- '@container.namespaces'
- '@module_handler'
- '\Drupal\silverback_gatsby\Plugin\FeedInterface'
- '\Drupal\silverback_gatsby\Annotation\GatsbyFeed'
silverback_gatsby.build_trigger:
class: Drupal\silverback_gatsby\GatsbyBuildTrigger
arguments:
- '@http_client'
- '@messenger'
- '@entity_type.manager'
silverback_gatsby.update_trigger:
class: Drupal\silverback_gatsby\GatsbyUpdateTrigger
arguments:
- '@http_client'
- '@messenger'
- '@entity_type.manager'
silverback_gatsby.update_tracker:
class: Drupal\silverback_gatsby\GatsbyUpdateTracker
arguments:
['@database', '@current_user', '@silverback_gatsby.build_trigger']
silverback_gatsby.update_handler:
class: Drupal\silverback_gatsby\GatsbyUpdateHandler
arguments:
- '@entity_type.manager'
- '@silverback_gatsby.update_tracker'
- '@silverback_gatsby.update_trigger'
silverback_gatsby.menu_tree_storage:
class: Drupal\silverback_gatsby\MenuTreeStorageDecorator
decorates: menu.tree_storage
public: false
arguments:
[
'@silverback_gatsby.menu_tree_storage.inner',
'@silverback_gatsby.update_handler',
]
silverback_gatsby.reverse_proxy_middleware:
class: Drupal\silverback_gatsby\SilverbackReverseProxyMiddleware
tags:
- { name: http_middleware, priority: 500 }