You are here

service language.default in Drupal 10

Same name and namespace in other branches
  1. 8 core/core.services.yml \language.default
  2. 9 core/core.services.yml \language.default

Class

Drupal\Core\Language\LanguageDefault
11 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.

... See full list

File

core/core.services.yml
core/core.services.yml

View source
  1. class: Drupal\Core\Language\LanguageDefault
  2. arguments:
  3. - '%language.default_values%'