public function PoStreamWriter::getLangcode in Localization update 7.2
Get the current language code used.
Return value
string The language code.
Overrides PoMetadataInterface::getLangcode
File
- includes/
gettext/ PoStreamWriter.php, line 60 - Definition of Drupal\Component\Gettext\PoStreamWriter.
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Code
public function getLangcode() {
return $this->_langcode;
}