PoStreamWriter::setLangcode

public PoStreamWriter::setLangcode($langcode)

Set the language code.

Parameters

string $langcode: The language code.

Overrides PoMetadataInterface::setLangcode

File

core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 67

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function setLangcode($langcode) {
  $this->_langcode = $langcode;
}
doc_Drupal
2016-10-29 09:34:49
Comments
Leave a Comment

Please login to continue.