PoStreamReader::setLangcode

public PoStreamReader::setLangcode($langcode)

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\Gettext

Code

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

Please login to continue.