function PoStreamWriter::getLangcode
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getLangcode()
- 8.9.x core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getLangcode()
- 10 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getLangcode()
Gets the current language code used.
Return value
string The language code.
Overrides PoMetadataInterface::getLangcode
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php, line 64
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
public function getLangcode() {
return $this->langcode;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.