You are here

public function PoStreamReader::getLangcode in Service Container 7

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

Get language code.

Return value

string Language code string.

Overrides PoMetadataInterface::getLangcode

File

lib/Drupal/Component/Gettext/PoStreamReader.php, line 108
Contains \Drupal\Component\Gettext\PoStreamReader.

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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