function PoItem::getLangcode

Get the language code of the currently used language.

Return value

string with langcode

File

drupal/core/lib/Drupal/Component/Gettext/PoItem.php, line 67
Definition of Drupal\Component\Gettext\PoItem.

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

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