LanguageConfigOverride::getLangcode

public 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\Config

Code

public function getLangcode() {
  return $this->getLangcodeFromCollectionName($this->getStorage()->getCollectionName());
}
doc_Drupal
2016-10-29 09:22:12
Comments
Leave a Comment

Please login to continue.