public ConfigNamesMapper::getLangcode()
Returns the original language code of the configuration.
Throws
\RuntimeException Throws an exception if the language codes in the config files don't match.
Overrides ConfigMapperInterface::getLangcode
File
core/modules/config_translation/src/ConfigNamesMapper.php, line 383
Class
ConfigNamesMapper Configuration mapper base implementation.
Namespace
Drupal\config_translation
Code
public function getLangcode() {
$langcodes = array_map([$this, 'g