function PoStreamReader::setLangcode
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()
- 10 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()
- 11.x core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()
Overrides PoMetadataInterface::setLangcode
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php, line 110
Class
- PoStreamReader
- Implements Gettext PO stream reader.
Namespace
Drupal\Component\GettextCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.