PoItem::getLangcode

PoItem::getLangcode()

Gets the language code of the currently used language.

Return value

string with langcode

File

core/lib/Drupal/Component/Gettext/PoItem.php, line 62

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

function getLangcode() {
  return $this->_langcode;
}
doc_Drupal
2016-10-29 09:34:34
Comments
Leave a Comment

Please login to continue.