-
Notifications
You must be signed in to change notification settings - Fork 3
/
oe_translation.services.yml
31 lines (31 loc) · 1.61 KB
/
oe_translation.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
services:
oe_translation.translator_providers:
class: Drupal\oe_translation\TranslatorProviders
arguments: ['@entity_type.manager']
oe_translation.translation_source_manager:
class: Drupal\oe_translation\TranslationSourceManager
arguments: ['@oe_translation.entity_revision_info', '@content_translation.manager', '@entity_type.manager', '@config.factory', '@module_handler', '@plugin.manager.field.field_type', '@class_resolver', '@event_dispatcher']
oe_translation.route_subscriber:
class: Drupal\oe_translation\Routing\RouteSubscriber
arguments: ['@oe_translation.translator_providers']
tags:
- { name: event_subscriber }
oe_translation.route_access_checker:
class: Drupal\oe_translation\Access\TranslationRouteAccess
arguments: ['@entity_type.manager']
tags:
- { name: access_check, applies_to: _access_oe_translation }
oe_translation.request_subscriber:
class: Drupal\oe_translation\EventSubscriber\TranslationOverviewRequestSubscriber
arguments: ['@current_route_match', '@entity_type.manager', '@language_manager', '@oe_translation.translator_providers']
tags:
- { name: event_subscriber }
oe_translation.entity_revision_info:
class: Drupal\oe_translation\EntityRevisionInfo
arguments: ['@event_dispatcher']
oe_translation.translation_request_operations_provider:
class: Drupal\oe_translation\TranslationRequestOperationsProvider
arguments: ['@event_dispatcher']
oe_translation.content_translation_preview_manager:
class: Drupal\oe_translation\TranslationPreviewManager
arguments: ['@oe_translation.translation_source_manager']