PoStreamWriter::getLangcode

public PoStreamWriter::getLangcode()

Gets the current language code used.

Return value

string The language code.

Overrides PoMetadataInterface::getLangcode

File

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

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function getLangcode() {
  return $this->_langcode;
}
doc_Drupal
2016-10-29 09:34:48
Comments
Leave a Comment

Please login to continue.