100 lines
3.3 KiB
YAML
100 lines
3.3 KiB
YAML
services:
|
|
|
|
# Plugins.
|
|
|
|
plugin.manager.webform.element:
|
|
class: Drupal\webform\WebformElementManager
|
|
parent: default_plugin_manager
|
|
|
|
plugin.manager.webform.handler:
|
|
class: Drupal\webform\WebformHandlerManager
|
|
parent: default_plugin_manager
|
|
|
|
plugin.manager.webform.exporter:
|
|
class: Drupal\webform\WebformExporterManager
|
|
parent: default_plugin_manager
|
|
|
|
# Logger.
|
|
|
|
logger.channel.webform:
|
|
class: Drupal\Core\Logger\LoggerChannel√
|
|
factory: logger.factory:get
|
|
arguments: ['webform']
|
|
|
|
# Services.
|
|
|
|
webform.addons_manager:
|
|
class: Drupal\webform\WebformAddonsManager
|
|
|
|
webform.elements_validator:
|
|
class: Drupal\webform\WebformEntityElementsValidator
|
|
|
|
webform.email_provider:
|
|
class: Drupal\webform\WebformEmailProvider
|
|
arguments: ['@config.factory', '@module_handler', '@plugin.manager.mail']
|
|
|
|
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: ['@config.factory']
|
|
|
|
webform.message_manager:
|
|
class: Drupal\webform\WebformMessageManager
|
|
arguments: ['@current_user', '@config.factory', '@entity_type.manager', '@logger.channel.webform', '@renderer', '@webform.request', '@webform.token_manager']
|
|
|
|
webform.translation_manager:
|
|
class: Drupal\webform\WebformTranslationManager
|
|
arguments: ['@language_manager', '@config.factory', '@plugin.manager.webform.element']
|
|
|
|
webform.request:
|
|
class: Drupal\webform\WebformRequest
|
|
arguments: ['@router.route_provider', '@request_stack', '@current_route_match', '@entity_type.manager', '@entity_type.repository']
|
|
|
|
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', '@entity_type.manager', '@entity.query', '@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: ['@module_handler', '@token']
|
|
|
|
# Breadcrumb builder.
|
|
|
|
webform.breadcrumb:
|
|
class: Drupal\webform\BreadCrumb\WebformBreadcrumbBuilder
|
|
arguments: ['@module_handler', '@webform.request', '@string_translation']
|
|
tags:
|
|
- { name: breadcrumb_builder, priority: 1002 }
|
|
|
|
# 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' }
|