public function PoDatabaseWriter::setLangcode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::setLangcode()
Set language code.
Parameters
string $langcode: Language code string.
Overrides PoMetadataInterface::setLangcode
File
- core/
modules/ locale/ src/ PoDatabaseWriter.php, line 80 - Contains \Drupal\locale\PoDatabaseWriter.
Class
- PoDatabaseWriter
- Gettext PO writer working with the locale module database.
Namespace
Drupal\localeCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
}