function ContentLanguageSettings::getDefaultLangcode

Same name in other branches
  1. 8.9.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()
  2. 10 core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()
  3. 11.x core/modules/language/src/Entity/ContentLanguageSettings.php \Drupal\language\Entity\ContentLanguageSettings::getDefaultLangcode()

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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.