ContentLanguageSettingsInterface::setDefaultLangcode

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);
doc_Drupal
2016-10-29 08:57:57
Comments
Leave a Comment

Please login to continue.