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/core/modules/locale/locale.services.yml

37 lines
1.4 KiB
YAML

services:
locale.default.config.storage:
class: Drupal\locale\LocaleDefaultConfigStorage
arguments: ['@config.storage', '@language_manager']
public: false
locale.config_manager:
class: Drupal\locale\LocaleConfigManager
arguments: ['@config.storage', '@locale.storage', '@config.factory', '@config.typed', '@language_manager', '@locale.default.config.storage']
locale.storage:
class: Drupal\locale\StringDatabaseStorage
arguments: ['@database']
tags:
- { name: backend_overridable }
locale.project:
class: Drupal\locale\LocaleProjectStorage
arguments: ['@keyvalue']
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 }