content_translation.services.yml 995 Bytes
Newer Older
1 2 3
services:
  content_translation.synchronizer:
    class: Drupal\content_translation\FieldTranslationSynchronizer
4
    arguments: ['@entity.manager']
5 6 7

  content_translation.subscriber:
    class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
8
    arguments: ['@content_translation.manager']
9 10 11 12 13
    tags:
      - { name: event_subscriber }

  content_translation.overview_access:
    class: Drupal\content_translation\Access\ContentTranslationOverviewAccess
14
    arguments: ['@entity.manager']
15
    tags:
16
      - { name: access_check, applies_to: _access_content_translation_overview }
17 18 19

  content_translation.manage_access:
    class: Drupal\content_translation\Access\ContentTranslationManageAccessCheck
20
    arguments: ['@entity.manager', '@language_manager']
21
    tags:
22
      - { name: access_check, applies_to: _access_content_translation_manage }
23 24 25 26

  content_translation.manager:
    class: Drupal\content_translation\ContentTranslationManager
    arguments: ['@entity.manager']