service language.default in Drupal 10
Same name and namespace in other branches
- 8 core/core.services.yml \language.default
- 9 core/core.services.yml \language.default
Class
Drupal\Core\Language\LanguageDefault11 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.
- HelpTopicSection::create in core/
modules/ help_topics/ src/ Plugin/ HelpSection/ HelpTopicSection.php - InstallerTestBase::setUp in core/
tests/ Drupal/ FunctionalTests/ Installer/ InstallerTestBase.php - install_begin_request in core/
includes/ install.core.inc - Begins an installation request, modifying the installation state as needed.
File
- core/
core.services.yml - core/core.services.yml
View source
- class: Drupal\Core\Language\LanguageDefault
- arguments:
- - '%language.default_values%'