function PoDatabaseReader::setLangcode
Set language code.
Parameters
string $langcode: Language code string.
Overrides PoMetadataInterface::setLangcode
File
-
core/
modules/ locale/ src/ PoDatabaseReader.php, line 61
Class
- PoDatabaseReader
- Gettext PO reader working with the locale module database.
Namespace
Drupal\localeCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.