You are here

public function PoDatabaseReader::setLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::setLangcode()

Set language code.

Parameters

string $langcode: Language code string.

Overrides PoMetadataInterface::setLangcode

File

core/modules/locale/src/PoDatabaseReader.php, line 66
Contains \Drupal\locale\PoDatabaseReader.

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

public function setLangcode($langcode) {
  $this->langcode = $langcode;
}