content_translation.services.yml

Same filename in other branches
  1. 9 core/modules/content_translation/content_translation.services.yml
  2. 8.9.x core/modules/content_translation/content_translation.services.yml
  3. 11.x core/modules/content_translation/content_translation.services.yml
core/modules/content_translation/content_translation.services.yml

File

core/modules/content_translation/content_translation.services.yml

View source
  1. services:
  2. _defaults:
  3. autoconfigure: true
  4. content_translation.synchronizer:
  5. class: Drupal\content_translation\FieldTranslationSynchronizer
  6. arguments: ['@entity_type.manager', '@plugin.manager.field.field_type']
  7. Drupal\content_translation\FieldTranslationSynchronizerInterface: '@content_translation.synchronizer'
  8. content_translation.subscriber:
  9. class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
  10. arguments: ['@content_translation.manager']
  11. content_translation.delete_access:
  12. class: Drupal\content_translation\Access\ContentTranslationDeleteAccess
  13. arguments: ['@entity_type.manager', '@content_translation.manager']
  14. tags:
  15. - { name: access_check, applies_to: _access_content_translation_delete }
  16. content_translation.overview_access:
  17. class: Drupal\content_translation\Access\ContentTranslationOverviewAccess
  18. arguments: ['@entity_type.manager']
  19. tags:
  20. - { name: access_check, applies_to: _access_content_translation_overview }
  21. content_translation.manage_access:
  22. class: Drupal\content_translation\Access\ContentTranslationManageAccessCheck
  23. arguments: ['@entity_type.manager', '@language_manager']
  24. tags:
  25. - { name: access_check, applies_to: _access_content_translation_manage }
  26. content_translation.manager:
  27. class: Drupal\content_translation\ContentTranslationManager
  28. arguments: ['@entity_type.manager', '@entity_type.bundle.info']
  29. Drupal\content_translation\ContentTranslationManagerInterface: '@content_translation.manager'
  30. Drupal\content_translation\BundleTranslationSettingsInterface: '@content_translation.manager'

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
Drupal\content_translation\BundleTranslationSettingsInterface
Drupal\content_translation\ContentTranslationManagerInterface
Drupal\content_translation\FieldTranslationSynchronizerInterface
_defaults

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.