-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathwmpathauto.services.yml
70 lines (60 loc) · 2.67 KB
/
wmpathauto.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
services:
plugin.manager.alias_builder:
class: Drupal\wmpathauto\AliasBuilderManager
parent: default_plugin_manager
plugin.manager.pattern_builder:
class: Drupal\wmpathauto\PatternBuilderManager
parent: default_plugin_manager
plugin.manager.entity_alias_dependency_provider:
class: Drupal\wmpathauto\EntityAliasDependencyProviderManager
parent: default_plugin_manager
plugin.manager.pattern_token_dependency_provider:
class: Drupal\wmpathauto\PatternTokenDependencyProviderManager
parent: default_plugin_manager
wmpathauto.entity_alias_dependency.resolver:
class: Drupal\wmpathauto\EntityAliasDependencyResolver
arguments:
- '@token'
- '@token.entity_mapper'
- '@pathauto.alias_cleaner'
- '@pathauto.generator'
- '@plugin.manager.alias_builder'
- '@plugin.manager.pattern_builder'
- '@plugin.manager.entity_alias_dependency_provider'
- '@plugin.manager.pattern_token_dependency_provider'
wmpathauto.entity_alias_dependency.repository:
class: Drupal\wmpathauto\EntityAliasDependencyRepository
arguments:
- '@entity_type.manager'
- '@queue'
wmpathauto.entity_alias_dependency.update.subscriber:
class: Drupal\wmpathauto\EventSubscriber\DependencyUpdateSubscriber
arguments:
- '@database'
- '@wmpathauto.entity_alias_dependency.resolver'
- '@wmpathauto.entity_alias_dependency.repository'
tags: [{ name: event_subscriber }]
wmpathauto.entity_alias_dependency.delete.subscriber:
class: Drupal\wmpathauto\EventSubscriber\DependencyDeleteSubscriber
arguments:
- '@database'
- '@wmpathauto.entity_alias_dependency.repository'
tags: [{ name: event_subscriber }]
wmpathauto.menu_link_content.subscriber:
class: Drupal\wmpathauto\EventSubscriber\MenuLinkContentSubscriber
arguments:
- '@database'
- '@entity_type.manager'
- '@router.route_provider'
- '@wmpathauto.entity_alias_dependency.resolver'
- '@wmpathauto.entity_alias_dependency.repository'
wmpathauto.pattern_builder.subscriber:
class: Drupal\wmpathauto\EventSubscriber\PatternBuilderSubscriber
arguments:
- '@plugin.manager.pattern_builder'
tags: [{ name: event_subscriber }]
wmpathauto.alias_builder.subscriber:
class: Drupal\wmpathauto\EventSubscriber\AliasBuilderSubscriber
arguments:
- '@plugin.manager.alias_builder'
tags: [{ name: event_subscriber }]