function LanguageConfigOverride::getLangcode
Same name in other branches
- 9 core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::getLangcode()
- 10 core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::getLangcode()
- 11.x core/modules/language/src/Config/LanguageConfigOverride.php \Drupal\language\Config\LanguageConfigOverride::getLangcode()
Returns the language code of this language override.
Return value
string The language code.
File
-
core/
modules/ language/ src/ Config/ LanguageConfigOverride.php, line 89
Class
- LanguageConfigOverride
- Defines language configuration overrides.
Namespace
Drupal\language\ConfigCode
public function getLangcode() {
return $this->getLangcodeFromCollectionName($this->getStorage()
->getCollectionName());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.