ConfigNamesMapper::setLangcode

public ConfigNamesMapper::setLangcode($langcode)

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

Class

ConfigNamesMapper
Configuration mapper base implementation.

Namespace

Drupal\config_translation

Code

public function setLangcode($langcode) {
  $this->langcode = $langcode;
  return $this;
}
doc_Drupal
2016-10-29 08:54:21
Comments
Leave a Comment

Please login to continue.