public function PoDatabaseWriter::setLangcode in Drupal 9
Same name and namespace in other branches
- 8 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 75
Class
- PoDatabaseWriter
- Gettext PO writer working with the locale module database.
Namespace
Drupal\localeCode
public function setLangcode($langcode) {
$this->langcode = $langcode;
}