public function ContentLanguageSettingsInterface::getDefaultLangcode in Drupal 9
Same name and namespace in other branches
- 8 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();