Same name and namespace in other branches
- 8.9.x core/core.services.yml \language.default
- 9 core/core.services.yml \language.default
Class
Drupal\Core\Language\LanguageDefault7 string references to language.default
- ConfigurableLanguage::getDefaultLangcode in core/
modules/ language/ src/ Entity/ ConfigurableLanguage.php - Gets the default langcode.
- EntityViewBuilderTest::testViewField in core/
tests/ Drupal/ KernelTests/ Core/ Entity/ EntityViewBuilderTest.php - Tests EntityViewBuilder::viewField() language awareness.
- InstallerTestBase::installDrupal in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - We are testing the installer, so set up a minimal environment for that.
- Language::getDefaultLangcode in core/
lib/ Drupal/ Core/ Language/ Language.php - Gets the default langcode.
- LanguageUnitTest::testIsDefault in core/
tests/ Drupal/ Tests/ Core/ Language/ LanguageUnitTest.php - @covers ::isDefault
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Language\LanguageDefault
- arguments:
- - '%language.default_values%'