public function PoStreamReader::setLangcode in Drupal 8
Same name and namespace 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()
Set language code.
Parameters
string $langcode: Language code string.
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;
}