PoDatabaseWriter::setLangcode

public PoDatabaseWriter::setLangcode($langcode)

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\locale

Code

public function setLangcode($langcode) {
  $this->langcode = $langcode;
}
doc_Drupal
2016-10-29 09:34:27
Comments
Leave a Comment

Please login to continue.