public function PoStreamWriter::setLangcode in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::setLangcode()
- 10 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::setLangcode()
Set the language code.
Parameters
string $langcode: The language code.
Overrides PoMetadataInterface::setLangcode
File
- core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php, line 74
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
}