function ContentLanguageSettingsInterface::getDefaultLangcode
Same name in other branches
- 9 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
- 8.9.x core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
- 10 core/modules/language/src/ContentLanguageSettingsInterface.php \Drupal\language\ContentLanguageSettingsInterface::getDefaultLangcode()
Gets the default language code.
Return value
string
1 method overrides ContentLanguageSettingsInterface::getDefaultLangcode()
- ContentLanguageSettings::getDefaultLangcode in core/
modules/ language/ src/ Entity/ ContentLanguageSettings.php - Gets the default language code.
File
-
core/
modules/ language/ src/ ContentLanguageSettingsInterface.php, line 51
Class
- ContentLanguageSettingsInterface
- Provides an interface defining language settings for content entities.
Namespace
Drupal\languageCode
public function getDefaultLangcode();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.