public ContentLanguageSettingsInterface::setDefaultLangcode($default_langcode)
Sets the default language code.
Parameters
string $default_langcode: The default language code.
Return value
$this
File
- core/modules/language/src/ContentLanguageSettingsInterface.php, line 44
Class
- ContentLanguageSettingsInterface
- Provides an interface defining language settings for content entities.
Namespace
Drupal\language
Code
public function setDefaultLangcode($default_langcode);
Please login to continue.