public function ConfigMapperInterface::getLangcode in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::getLangcode()
- 9 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::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.
File
- core/
modules/ config_translation/ src/ ConfigMapperInterface.php, line 203
Class
- ConfigMapperInterface
- Defines an interface for configuration mapper.
Namespace
Drupal\config_translationCode
public function getLangcode();