function ContentLanguageSettings::setDefaultLangcode
Sets the default language code.
Parameters
string $default_langcode: The default language code.
Return value
$this
Overrides ContentLanguageSettingsInterface::setDefaultLangcode
File
- 
              core/modules/ language/ src/ Entity/ ContentLanguageSettings.php, line 136 
Class
- ContentLanguageSettings
- Defines the ContentLanguageSettings entity.
Namespace
Drupal\language\EntityCode
public function setDefaultLangcode($default_langcode) {
  $this->default_langcode = $default_langcode;
  return $this;
}Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.
