PoDatabaseReader::setLangcode

public PoDatabaseReader::setLangcode($langcode)

Set language code.

Parameters

string $langcode: Language code string.

Overrides PoMetadataInterface::setLangcode

File

core/modules/locale/src/PoDatabaseReader.php, line 61

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

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

Please login to continue.