You are here

public function PoStreamReader::getLangcode in Drupal 8

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

Get language code.

Return value

string Language code string.

Overrides PoMetadataInterface::getLangcode

File

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 103

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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