You are here

service language.config_factory_override in Drupal 8

Same name and namespace in other branches
  1. 9 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
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 }