2015-08-18 00:00:26 +00:00
|
|
|
services:
|
|
|
|
locale.default.config.storage:
|
|
|
|
class: Drupal\locale\LocaleDefaultConfigStorage
|
2017-04-13 14:53:35 +00:00
|
|
|
arguments: ['@config.storage', '@language_manager', '%install_profile%']
|
2015-08-18 00:00:26 +00:00
|
|
|
public: false
|
|
|
|
locale.config_manager:
|
|
|
|
class: Drupal\locale\LocaleConfigManager
|
2016-04-20 16:56:34 +00:00
|
|
|
arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage', '@config.manager']
|
2015-08-18 00:00:26 +00:00
|
|
|
locale.storage:
|
|
|
|
class: Drupal\locale\StringDatabaseStorage
|
|
|
|
arguments: ['@database']
|
|
|
|
tags:
|
|
|
|
- { name: backend_overridable }
|
|
|
|
locale.project:
|
|
|
|
class: Drupal\locale\LocaleProjectStorage
|
|
|
|
arguments: ['@keyvalue']
|
2015-10-08 18:40:12 +00:00
|
|
|
locale.plural.formula:
|
|
|
|
class: Drupal\locale\PluralFormula
|
|
|
|
arguments: ['@language_manager', '@state']
|
2015-08-18 00:00:26 +00:00
|
|
|
string_translator.locale.lookup:
|
|
|
|
class: Drupal\locale\LocaleTranslation
|
|
|
|
arguments: ['@locale.storage', '@cache.default', '@lock', '@config.factory', '@language_manager', '@request_stack']
|
|
|
|
tags:
|
|
|
|
- { name: string_translator }
|
|
|
|
- { name: needs_destruction }
|
|
|
|
stream_wrapper.translations:
|
|
|
|
class: Drupal\locale\StreamWrapper\TranslationsStream
|
|
|
|
tags:
|
|
|
|
- { name: stream_wrapper, scheme: translations }
|
|
|
|
locale.config_subscriber:
|
|
|
|
class: Drupal\locale\LocaleConfigSubscriber
|
|
|
|
arguments: ['@config.factory', '@locale.config_manager']
|
|
|
|
tags:
|
|
|
|
- { name: event_subscriber }
|
|
|
|
locale.locale_translation_cache_tag:
|
|
|
|
class: Drupal\locale\EventSubscriber\LocaleTranslationCacheTag
|
|
|
|
arguments: ['@cache_tags.invalidator']
|
|
|
|
tags:
|
|
|
|
- { name: event_subscriber }
|