public function ConfigNamesMapper::setLangcode in Drupal 10
Same name and namespace in other branches
- 8 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::setLangcode()
- 9 core/modules/config_translation/src/ConfigNamesMapper.php \Drupal\config_translation\ConfigNamesMapper::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;
}