public function PoDatabaseWriter::setLangcode in Drupal 8
Same name and namespace in other branches
- 9 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::setLangcode()
- 10 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;
}