You are here

public function ContentLanguageSettings::getDefaultLangcode in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()
  2. 9 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()

Gets the default language code.

Return value

string

Overrides ContentLanguageSettingsInterface::getDefaultLangcode

File

core/modules/language/src/Entity/ContentLanguageSettings.php, line 145

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

public function getDefaultLangcode() {
  return $this->default_langcode;
}