public function PoStreamReader::setLangcode in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()
Set language code.
Parameters
string $langcode: Language code string.
Overrides PoMetadataInterface::setLangcode
File
- lib/
Drupal/ Component/ Gettext/ PoStreamReader.php, line 115 - Contains \Drupal\Component\Gettext\PoStreamReader.
Class
- PoStreamReader
- Implements Gettext PO stream reader.
Namespace
Drupal\Component\GettextCode
public function setLangcode($langcode) {
$this->_langcode = $langcode;
}