public function ContentLanguageSettings::getDefaultLangcode in Drupal 9
Same name and namespace in other branches
- 8 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()
- 10 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\EntityCode
public function getDefaultLangcode() {
return $this->default_langcode;
}