You are here

config_translation.services.yml in Drupal 9

Same filename and directory in other branches
  1. 8 core/modules/config_translation/config_translation.services.yml
core/modules/config_translation/config_translation.services.yml

File

core/modules/config_translation/config_translation.services.yml
View source
  1. services:
  2. config_translation.route_subscriber:
  3. class: Drupal\config_translation\Routing\RouteSubscriber
  4. arguments: ['@plugin.manager.config_translation.mapper']
  5. tags:
  6. - { name: event_subscriber }
  7. config_translation.access.overview:
  8. class: Drupal\config_translation\Access\ConfigTranslationOverviewAccess
  9. arguments: ['@plugin.manager.config_translation.mapper', '@language_manager']
  10. tags:
  11. - { name: access_check, applies_to: _config_translation_overview_access }
  12. config_translation.access.form:
  13. class: Drupal\config_translation\Access\ConfigTranslationFormAccess
  14. arguments: ['@plugin.manager.config_translation.mapper', '@language_manager']
  15. tags:
  16. - { name: access_check, applies_to: _config_translation_form_access }
  17. plugin.manager.config_translation.mapper:
  18. class: Drupal\config_translation\ConfigMapperManager
  19. arguments:
  20. - '@cache.discovery'
  21. - '@language_manager'
  22. - '@module_handler'
  23. - '@config.typed'
  24. - '@theme_handler'