function ConfigNamesMapper::setLangcode
Same name and namespace in other branches
- 8.9.x core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::setLangcode()
- 10 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::setLangcode()
- 11.x 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 424
Class
- ConfigNamesMapper
- Configuration mapper base implementation.
Namespace
Drupal\config_translationCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
return $this;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.