language.config_factory_override

Same name in other branches
  1. 9 core/modules/language/language.services.yml \language.config_factory_override
  2. 10 core/modules/language/language.services.yml \language.config_factory_override
  3. 11.x core/modules/language/language.services.yml \language.config_factory_override

Class

Drupal\language\Config\LanguageConfigFactoryOverride

Tags

  • config.factory.override
  • event_subscriber
3 string references to language.config_factory_override
ConfigOverridesUpdateTest::testUpdatedSite in core/modules/system/tests/src/Functional/Update/ConfigOverridesUpdateTest.php
Tests that configuration has been updated.
LanguageConfigFactoryOverrideTest::testLanguageConfigFactoryOverride in core/modules/language/tests/src/Kernel/LanguageConfigFactoryOverrideTest.php
Tests language.config_factory_override service has the default language.
LocaleImportFunctionalTest::testConfigPoFile in core/modules/locale/tests/src/Functional/LocaleImportFunctionalTest.php
Tests .po file import with configuration translation.

File

core/modules/language/language.services.yml

View source
  1. class: Drupal\language\Config\LanguageConfigFactoryOverride
  2. arguments:
  3. - '@config.storage'
  4. - '@event_dispatcher'
  5. - '@config.typed'
  6. - '@language.default'
  7. tags:
  8. - { name: config.factory.override, priority: -254 }
  9. - { name: event_subscriber }

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.