function ContentLanguageSettings::getDefaultLangcode

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

Overrides ContentLanguageSettingsInterface::getDefaultLangcode

File

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

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.