content_translation.services.yml

Same filename in other branches
  1. 8.9.x core/modules/content_translation/content_translation.services.yml
  2. 10 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. content_translation.synchronizer:
  3. class: Drupal\content_translation\FieldTranslationSynchronizer
  4. arguments: ['@entity_type.manager', '@plugin.manager.field.field_type']
  5. content_translation.subscriber:
  6. class: Drupal\content_translation\Routing\ContentTranslationRouteSubscriber
  7. arguments: ['@content_translation.manager']
  8. tags:
  9. - { name: event_subscriber }
  10. content_translation.delete_access:
  11. class: Drupal\content_translation\Access\ContentTranslationDeleteAccess
  12. arguments: ['@entity_type.manager', '@content_translation.manager']
  13. tags:
  14. - { name: access_check, applies_to: _access_content_translation_delete }
  15. content_translation.overview_access:
  16. class: Drupal\content_translation\Access\ContentTranslationOverviewAccess
  17. arguments: ['@entity_type.manager']
  18. tags:
  19. - { name: access_check, applies_to: _access_content_translation_overview }
  20. content_translation.manage_access:
  21. class: Drupal\content_translation\Access\ContentTranslationManageAccessCheck
  22. arguments: ['@entity_type.manager', '@language_manager']
  23. tags:
  24. - { name: access_check, applies_to: _access_content_translation_manage }
  25. content_translation.manager:
  26. class: Drupal\content_translation\ContentTranslationManager
  27. 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.