content_translation.services.yml
Same filename in other branches
File
-
core/
modules/ content_translation/ content_translation.services.yml
View source
- services:
- content_translation.synchronizer:
- class: Drupal\content_translation\FieldTranslationSynchronizer
- arguments: ['@entity_type.manager', '@plugin.manager.field.field_type']
-
- content_translation.subscriber:
- class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
- arguments: ['@content_translation.manager']
- tags:
- - { name: event_subscriber }
-
- content_translation.delete_access:
- class: Drupal\content_translation\Access\ContentTranslationDeleteAccess
- arguments: ['@entity_type.manager', '@content_translation.manager']
- tags:
- - { name: access_check, applies_to: _access_content_translation_delete }
-
- content_translation.overview_access:
- class: Drupal\content_translation\Access\ContentTranslationOverviewAccess
- arguments: ['@entity_type.manager']
- tags:
- - { name: access_check, applies_to: _access_content_translation_overview }
-
- content_translation.manage_access:
- class: Drupal\content_translation\Access\ContentTranslationManageAccessCheck
- arguments: ['@entity_type.manager', '@language_manager']
- tags:
- - { name: access_check, applies_to: _access_content_translation_manage }
-
- content_translation.manager:
- class: Drupal\content_translation\ContentTranslationManager
- arguments: ['@entity_type.manager', '@entity_type.bundle.info']
Services
Title | Deprecated | Summary |
---|---|---|
content_translation.delete_access | Drupal\content_translation\Access\ContentTranslationDeleteAccess | |
content_translation.manager | Drupal\content_translation\ContentTranslationManager | |
content_translation.manage_access | Drupal\content_translation\Access\ContentTranslationManageAccessCheck | |
content_translation.overview_access | Drupal\content_translation\Access\ContentTranslationOverviewAccess | |
content_translation.subscriber | Drupal\content_translation\Routing\ContentTranslationRouteSubscriber | |
content_translation.synchronizer | Drupal\content_translation\FieldTranslationSynchronizer |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.