function PoDatabaseWriter::setLangcode
Same name in other branches
- 9 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::setLangcode()
- 8.9.x core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::setLangcode()
- 10 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::setLangcode()
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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.