-
Notifications
You must be signed in to change notification settings - Fork 123
/
rules.services.yml
64 lines (64 loc) · 2.49 KB
/
rules.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
services:
cache.rules:
class: Drupal\Core\Cache\CacheBackendInterface
tags:
- { name: cache.bin }
factory: cache_factory:get
arguments: [rules]
plugin.manager.rules_expression:
class: Drupal\rules\Engine\ExpressionManager
arguments: ['@container.namespaces', '@module_handler', '@uuid']
plugin.manager.rules_action:
class: Drupal\rules\Core\RulesActionManager
parent: default_plugin_manager
plugin.manager.rules_event:
class: Drupal\rules\Core\RulesEventManager
arguments: ['@module_handler']
plugin.manager.rules_data_processor:
class: Drupal\rules\Context\DataProcessorManager
arguments: ['@container.namespaces', '@module_handler']
plugin.manager.rules_ui:
class: Drupal\rules\Ui\RulesUiManager
arguments: ['@module_handler']
logger.channel.rules:
class: Drupal\rules\Logger\RulesLoggerChannel
arguments: ['@config.factory']
logger.ruleslog:
class: Drupal\rules\Logger\RulesLog
tags:
- { name: logger }
arguments: ['@event_dispatcher', '@logger.log_message_parser']
rules.event_subscriber:
class: Drupal\rules\EventSubscriber\GenericEventSubscriber
arguments: ['@entity_type.manager', '@plugin.manager.rules_event', '@rules.component_repository']
tags:
- { name: 'event_subscriber' }
rules.redirect_event_subscriber:
class: Drupal\rules\EventSubscriber\RedirectEventSubscriber
tags:
- { name: 'event_subscriber' }
rules.component_repository:
class: Drupal\rules\Engine\RulesComponentRepository
arguments: ['@cache.rules', '@language_manager']
tags:
- { name: service_collector, tag: 'rules.component_resolver', call: addComponentResolver }
rules.component_resolver.component_config:
class: Drupal\rules\ComponentResolver\ComponentConfigResolver
arguments: ['@entity_type.manager']
tags:
- { name: rules.component_resolver, resolver_name: rules_component }
rules.component_resolver.event_component:
class: Drupal\rules\ComponentResolver\EventComponentResolver
arguments: ['@entity_type.manager', '@plugin.manager.rules_expression']
tags:
- { name: rules.component_resolver, resolver_name: rules_event }
rules.ui_route_enhancer:
class: Drupal\rules\Routing\RulesUiRouteEnhancer
arguments: ['@plugin.manager.rules_ui']
tags:
- { name: route_enhancer }
rules.ui_route_subscriber:
class: Drupal\rules\Routing\RulesUiRouteSubscriber
arguments: ['@plugin.manager.rules_ui']
tags:
- { name: 'event_subscriber' }