locale.services.yml

Same filename and directory in other branches
  1. 10 core/modules/locale/locale.services.yml
  2. 11.x core/modules/locale/locale.services.yml
  3. 9 core/modules/locale/locale.services.yml
  4. 8.9.x core/modules/locale/locale.services.yml
core/modules/locale/locale.services.yml

File

core/modules/locale/locale.services.yml

View source
  1. parameters:
  2. locale.skip_procedural_hook_scan: true
  3. services:
  4. _defaults:
  5. autoconfigure: true
  6. autowire: true
  7. locale.default.config.storage:
  8. class: Drupal\locale\LocaleDefaultConfigStorage
  9. arguments: ['@config.storage', '@language_manager', '%install_profile%']
  10. public: false
  11. Drupal\locale\LocaleDefaultConfigStorage: '@locale.default.config.storage'
  12. locale.config_manager:
  13. class: Drupal\locale\LocaleConfigManager
  14. arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage', '@config.manager']
  15. Drupal\locale\LocaleConfigManager: '@locale.config_manager'
  16. locale.storage:
  17. class: Drupal\locale\StringDatabaseStorage
  18. arguments: ['@database']
  19. tags:
  20. - { name: backend_overridable }
  21. Drupal\locale\StringStorageInterface: '@locale.storage'
  22. locale.project:
  23. class: Drupal\locale\LocaleProjectStorage
  24. Drupal\locale\LocaleProjectStorageInterface: '@locale.project'
  25. locale.plural.formula:
  26. class: Drupal\locale\PluralFormula
  27. Drupal\locale\PluralFormulaInterface: '@locale.plural.formula'
  28. string_translator.locale.lookup:
  29. class: Drupal\locale\LocaleTranslation
  30. arguments: ['@locale.storage', '@cache.default', '@lock', '@config.factory', '@language_manager', '@request_stack']
  31. tags:
  32. - { name: string_translator }
  33. - { name: needs_destruction }
  34. stream_wrapper.translations:
  35. class: Drupal\locale\StreamWrapper\TranslationsStream
  36. tags:
  37. - { name: stream_wrapper, scheme: translations }
  38. locale.config_subscriber:
  39. class: Drupal\locale\LocaleConfigSubscriber
  40. locale.locale_translation_cache_tag:
  41. class: Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
  42. Drupal\locale\EventSubscriber\ConfigSubscriber: ~
  43. Drupal\locale\LocaleSource: ~
  44. Drupal\locale\LocaleFetch: ~

Services

Title Deprecated Summary
Drupal\locale\EventSubscriber\ConfigSubscriber
Drupal\locale\LocaleFetch
Drupal\locale\LocaleSource
locale.config_manager Drupal\locale\LocaleConfigManager
locale.config_subscriber Drupal\locale\LocaleConfigSubscriber
locale.default.config.storage Drupal\locale\LocaleDefaultConfigStorage
locale.locale_translation_cache_tag Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
locale.plural.formula Drupal\locale\PluralFormula
locale.project Drupal\locale\LocaleProjectStorage
locale.storage Drupal\locale\StringDatabaseStorage
stream_wrapper.translations Drupal\locale\StreamWrapper\TranslationsStream
string_translator.locale.lookup Drupal\locale\LocaleTranslation
_defaults

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