This repository has been archived on 2025-01-19. You can view files and clone it, but cannot push or open issues or pull requests.
drupalcampbristol/web/core/modules/locale/locale.services.yml

40 lines
1.5 KiB
YAML
Raw Normal View History

services:
locale.default.config.storage:
class: Drupal\locale\LocaleDefaultConfigStorage
2017-04-13 14:53:35 +00:00
arguments: ['@config.storage', '@language_manager', '%install_profile%']
public: false
locale.config_manager:
class: Drupal\locale\LocaleConfigManager
arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage', '@config.manager']
locale.storage:
class: Drupal\locale\StringDatabaseStorage
arguments: ['@database']
tags:
- { name: backend_overridable }
locale.project:
class: Drupal\locale\LocaleProjectStorage
arguments: ['@keyvalue']
locale.plural.formula:
class: Drupal\locale\PluralFormula
arguments: ['@language_manager', '@state']
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 }