public function ContentLanguageSettings::getDefaultLangcode in Drupal 8
Same name and namespace in other branches
- 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 142
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\EntityCode
public function getDefaultLangcode() {
return $this->default_langcode;
}