language.services.yml

Same filename in other branches
  1. 8.9.x core/modules/language/language.services.yml
  2. 10 core/modules/language/language.services.yml
  3. 11.x core/modules/language/language.services.yml
core/modules/language/language.services.yml

File

core/modules/language/language.services.yml

View source
  1. services:
  2. plugin.manager.language_negotiation_method:
  3. class: Drupal\language\LanguageNegotiationMethodManager
  4. arguments: ['@container.namespaces', '@cache.discovery', '@module_handler']
  5. language_negotiator:
  6. class: Drupal\language\LanguageNegotiator
  7. arguments: ['@language_manager', '@plugin.manager.language_negotiation_method', '@config.factory', '@settings', '@request_stack']
  8. calls:
  9. - [initLanguageManager]
  10. language.config_subscriber:
  11. class: Drupal\language\EventSubscriber\ConfigSubscriber
  12. arguments: ['@language_manager', '@language.default', '@config.factory', '@language_negotiator']
  13. tags:
  14. - { name: event_subscriber }
  15. language.config_factory_override:
  16. class: Drupal\language\Config\LanguageConfigFactoryOverride
  17. arguments: ['@config.storage', '@event_dispatcher', '@config.typed', '@language.default']
  18. tags:
  19. - { name: config.factory.override, priority: -254 }
  20. - { name: event_subscriber }
  21. language_converter:
  22. class: Drupal\language\LanguageConverter
  23. arguments: ['@language_manager']
  24. tags:
  25. - { name: paramconverter }
  26. 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.