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. Drupal\locale\LocaleConfigManager: '@locale.config_manager'
  15. locale.storage:
  16. class: Drupal\locale\StringDatabaseStorage
  17. arguments: ['@database']
  18. tags:
  19. - { name: backend_overridable }
  20. Drupal\locale\StringStorageInterface: '@locale.storage'
  21. locale.project:
  22. class: Drupal\locale\LocaleProjectStorage
  23. Drupal\locale\LocaleProjectStorageInterface: '@locale.project'
  24. locale.plural.formula:
  25. class: Drupal\locale\PluralFormula
  26. Drupal\locale\PluralFormulaInterface: '@locale.plural.formula'
  27. string_translator.locale.lookup:
  28. class: Drupal\locale\LocaleTranslation
  29. tags:
  30. - { name: string_translator }
  31. - { name: needs_destruction }
  32. stream_wrapper.translations:
  33. class: Drupal\locale\StreamWrapper\TranslationsStream
  34. tags:
  35. - { name: stream_wrapper, scheme: translations }
  36. locale.config_subscriber:
  37. class: Drupal\locale\LocaleConfigSubscriber
  38. locale.locale_translation_cache_tag:
  39. class: Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
  40. Drupal\locale\EventSubscriber\ConfigSubscriber: ~
  41. Drupal\locale\LocaleSource: ~
  42. Drupal\locale\LocaleFetch: ~
  43. Drupal\locale\File\LocaleFileManager: ~

Services

Title Deprecated Summary
Drupal\locale\EventSubscriber\ConfigSubscriber
Drupal\locale\File\LocaleFileManager
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.