You are here

public function ContentLanguageSettings::getDefaultLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 134
Contains \Drupal\language\Entity\ContentLanguageSettings.

Class

ContentLanguageSettings
Defines the ContentLanguageSettings entity.

Namespace

Drupal\language\Entity

Code

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