You are here

public function LanguageConfigOverride::getLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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 94
Contains \Drupal\language\Config\LanguageConfigOverride.

Class

LanguageConfigOverride
Defines language configuration overrides.

Namespace

Drupal\language\Config

Code

public function getLangcode() {
  return $this
    ->getLangcodeFromCollectionName($this
    ->getStorage()
    ->getCollectionName());
}