function ConfigMapperInterface::setLangcode

Same name and namespace in other branches
  1. 9 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::setLangcode()
  2. 8.9.x core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::setLangcode()
  3. 10 core/modules/config_translation/src/ConfigMapperInterface.php \Drupal\config_translation\ConfigMapperInterface::setLangcode()

Sets the original language code.

Parameters

string $langcode: The langcode.

Return value

$this

1 method overrides ConfigMapperInterface::setLangcode()
ConfigNamesMapper::setLangcode in core/modules/config_translation/src/ConfigNamesMapper.php
Sets the original language code.

File

core/modules/config_translation/src/ConfigMapperInterface.php, line 224

Class

ConfigMapperInterface
Defines an interface for configuration mapper.

Namespace

Drupal\config_translation

Code

public function setLangcode($langcode);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.