public function PoStreamWriter::getLangcode

Get the current language code used.

Return value

string The language code.

Overrides PoMetadataInterface::getLangcode

File

drupal/core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 68
Definition of Drupal\Component\Gettext\PoStreamWriter.

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function getLangcode() {
  return $this->_langcode;
}