You are here

public function PoStreamWriter::getLangcode in Service Container 7

Same name and namespace in other branches
  1. 7.2 lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getLangcode()

Gets the current language code used.

Return value

string The language code.

Overrides PoMetadataInterface::getLangcode

File

lib/Drupal/Component/Gettext/PoStreamWriter.php, line 62
Contains \Drupal\Component\Gettext\PoStreamWriter.

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

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