Set the language code of the current language.
Parameters
string $langcode:
File
- drupal/core/lib/Drupal/Component/Gettext/PoItem.php, line 76
- Definition of Drupal\Component\Gettext\PoItem.
Class
- PoItem
- PoItem handles one translation.
Namespace
Drupal\Component\Gettext
Code
function setLangcode($langcode) {
$this->_langcode = $langcode;
}