public function ConfigNamesMapper::setLangcode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::setLangcode()
Sets the original language code.
Parameters
string $langcode: The langcode.
Return value
$this
Overrides ConfigMapperInterface::setLangcode
File
- core/
modules/ config_translation/ src/ ConfigNamesMapper.php, line 407 - Contains \Drupal\config_translation\ConfigNamesMapper.
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
return $this;
}