-
Notifications
You must be signed in to change notification settings - Fork 9
/
Copy pathwebform.services.yml
146 lines (108 loc) · 5.48 KB
/
webform.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
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
services:
# Plugins.
plugin.manager.webform.element:
class: Drupal\webform\Plugin\WebformElementManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@theme_handler', '@config.factory', '@plugin.manager.element_info']
plugin.manager.webform.handler:
class: Drupal\webform\Plugin\WebformHandlerManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory']
plugin.manager.webform.exporter:
class: Drupal\webform\Plugin\WebformExporterManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory']
plugin.manager.webform.source_entity:
class: Drupal\webform\Plugin\WebformSourceEntityManager
arguments: ['@container.namespaces', '@cache.discovery', '@module_handler', '@config.factory']
# Logger.
logger.channel.webform:
class: Drupal\Core\Logger\LoggerChannel
factory: logger.factory:get
arguments: ['webform']
# Services.
webform.addons_manager:
class: Drupal\webform\WebformAddonsManager
webform.cli_service:
class: Drupal\webform\Commands\WebformCliService
webform.contribute_manager:
class: Drupal\webform\WebformContributeManager
arguments: ['@cache.default', '@http_client', '@date.formatter', '@config.factory']
webform.elements_validator:
class: Drupal\webform\WebformEntityElementsValidator
arguments: ['@renderer', '@plugin.manager.webform.element', '@entity_type.manager', '@form_builder']
webform.email_provider:
class: Drupal\webform\WebformEmailProvider
arguments: ['@config.factory', '@module_handler', '@plugin.manager.mail']
webform.entity_reference_manager:
class: Drupal\webform\WebformEntityReferenceManager
arguments: ['@current_route_match', '@current_user', '@user.data']
webform.help_manager:
class: Drupal\webform\WebformHelpManager
arguments: ['@current_user', '@config.factory', '@module_handler', '@state', '@path.matcher', '@webform.addons_manager', '@webform.libraries_manager', '@plugin.manager.webform.element']
webform.libraries_manager:
class: Drupal\webform\WebformLibrariesManager
arguments: ['@library.discovery', '@config.factory', '@module_handler', '@renderer']
webform.message_manager:
class: Drupal\webform\WebformMessageManager
arguments: ['@current_user', '@config.factory', '@entity_type.manager', '@logger.channel.webform', '@renderer', '@messenger', '@webform.request', '@webform.token_manager']
webform.translation_manager:
class: Drupal\webform\WebformTranslationManager
arguments: ['@current_route_match', '@language_manager', '@config.factory', '@messenger', '@plugin.manager.webform.element']
webform.request:
class: Drupal\webform\WebformRequest
arguments: ['@router.route_provider', '@request_stack', '@router.admin_context', '@current_route_match', '@entity_type.manager', '@entity_type.repository', '@webform.entity_reference_manager', '@plugin.manager.webform.source_entity']
webform_submission.generate:
class: Drupal\webform\WebformSubmissionGenerate
arguments: ['@config.factory', '@webform.token_manager', '@plugin.manager.webform.element']
webform_submission.exporter:
class: Drupal\webform\WebformSubmissionExporter
arguments: ['@config.factory', '@file_system', '@entity_type.manager', '@stream_wrapper_manager', '@plugin.manager.webform.element', '@plugin.manager.webform.exporter']
webform.third_party_settings_manager:
class: Drupal\webform\WebformThirdPartySettingsManager
arguments: ['@config.factory', '@module_handler', '@path.validator', '@webform.addons_manager']
webform.token_manager:
class: Drupal\webform\WebformTokenManager
arguments: ['@current_user', '@language_manager', '@config.factory', '@module_handler', '@token']
webform.theme_manager:
class: Drupal\webform\WebformThemeManager
arguments: ['@config.factory', '@renderer', '@theme.manager', '@theme.initialization']
webform_submission.conditions_validator:
class: Drupal\webform\WebformSubmissionConditionsValidator
arguments: ['@plugin.manager.webform.element']
# Breadcrumb builder.
webform.breadcrumb:
class: Drupal\webform\Breadcrumb\WebformBreadcrumbBuilder
arguments: ['@module_handler', '@webform.request', '@string_translation']
tags:
- { name: breadcrumb_builder, priority: 1002 }
# Event subscriber.
webform.event_subscriber:
class: Drupal\webform\EventSubscriber\WebformSubscriber
arguments: ['@current_user', '@config.factory', '@renderer', '@messenger', '@redirect.destination', '@webform.token_manager']
tags:
- { name: event_subscriber }
# Route subscriber.
webform.route_subscriber:
class: Drupal\webform\Routing\WebformRouteSubscriber
tags:
- { name: event_subscriber }
# Route context.
webform.webform_route_context:
class: Drupal\webform\ContextProvider\WebformRouteContext
arguments: ['@current_route_match']
tags:
- { name: 'context_provider' }
webform.webform_submission_route_context:
class: Drupal\webform\ContextProvider\WebformSubmissionRouteContext
arguments: ['@current_route_match']
tags:
- { name: 'context_provider' }
# Theme negotiator
webform.theme_negotiator:
class: Drupal\webform\Theme\WebformThemeNegotiator
arguments: ['@current_user', '@config.factory']
tags:
- { name: theme_negotiator, priority: -41 }
# Twig extension.
webform.twig_extension:
class: Drupal\webform\Twig\TwigExtension
tags:
- { name: twig.extension }