public function ContentLanguageSettingsInterface::setDefaultLangcode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::setDefaultLangcode()
Sets the default language code.
Parameters
string $default_langcode: The default language code.
Return value
$this;
1 method overrides ContentLanguageSettingsInterface::setDefaultLangcode()
- ContentLanguageSettings::setDefaultLangcode in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Sets the default language code.
File
- core/
modules/ language/ src/ ContentLanguageSettingsInterface.php, line 49 - Contains \Drupal\language\ContentLanguageSettingsInterface.
Class
- ContentLanguageSettingsInterface
- Provides an interface defining language settings for content entities.
Namespace
Drupal\languageCode
public function setDefaultLangcode($default_langcode);