language.services.yml
Same filename in other branches
File
-
core/
modules/ language/ language.services.yml
View source
- services:
- plugin.manager.language_negotiation_method:
- class: Drupal\language\LanguageNegotiationMethodManager
- arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
- language_negotiator:
- class: Drupal\language\LanguageNegotiator
- arguments: ['@language_manager', '@plugin.manager.language_negotiation_method', '@config.factory', '@settings', '@request_stack']
- calls:
- - [initLanguageManager]
- language.config_subscriber:
- class: Drupal\language\EventSubscriber\ConfigSubscriber
- arguments: ['@language_manager', '@language.default', '@config.factory', '@language_negotiator']
- tags:
- - { name: event_subscriber }
- language.config_factory_override:
- class: Drupal\language\Config\LanguageConfigFactoryOverride
- arguments: ['@config.storage', '@event_dispatcher', '@config.typed', '@language.default']
- tags:
- - { name: config.factory.override, priority: -254 }
- - { name: event_subscriber }
- language_converter:
- class: Drupal\language\LanguageConverter
- arguments: ['@language_manager']
- tags:
- - { name: paramconverter }
- lazy: true
Services
Title | Deprecated | Summary |
---|---|---|
language.config_factory_override | Drupal\language\Config\LanguageConfigFactoryOverride | |
language.config_subscriber | Drupal\language\EventSubscriber\ConfigSubscriber | |
language_converter | Drupal\language\LanguageConverter | |
language_negotiator | Drupal\language\LanguageNegotiator | |
plugin.manager.language_negotiation_method | Drupal\language\LanguageNegotiationMethodManager |
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.