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. deprecated: The "%service_id%" service is deprecated in drupal:11.4.0 and is removed from drupal:13.0.0. Use the 'Drupal\locale\LocaleProjectRepository' service instead.See https://www.drupal.org/node/3037033
  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. tags:
  31. - { name: string_translator }
  32. - { name: needs_destruction }
  33. stream_wrapper.translations:
  34. class: Drupal\locale\StreamWrapper\TranslationsStream
  35. tags:
  36. - { name: stream_wrapper, scheme: translations }
  37. locale.config_subscriber:
  38. class: Drupal\locale\LocaleConfigSubscriber
  39. locale.locale_translation_cache_tag:
  40. class: Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
  41. Drupal\locale\EventSubscriber\ConfigSubscriber: ~
  42. Drupal\locale\LocaleSource: ~
  43. Drupal\locale\LocaleFetch: ~
  44. Drupal\locale\File\LocaleFileManager: ~
  45. Drupal\locale\LocaleProjectRepository: ~
  46. Drupal\locale\LocaleProjectChecker: ~
  47. Drupal\locale\LocaleConfigBatch: ~
  48. Drupal\locale\LocaleImportBatch: ~
  49. logger.channel.locale:
  50. parent: logger.channel_base
  51. arguments: ['locale']
  52. Drupal\locale\CurrentImportStorage: ~

Services

Title Deprecated Summary
Drupal\locale\CurrentImportStorage
Drupal\locale\EventSubscriber\ConfigSubscriber
Drupal\locale\File\LocaleFileManager
Drupal\locale\LocaleConfigBatch
Drupal\locale\LocaleFetch
Drupal\locale\LocaleImportBatch
Drupal\locale\LocaleProjectChecker
Drupal\locale\LocaleProjectRepository
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
logger.channel.locale
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.