You are here

content_translation.services.yml in Drupal 10

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']