You are here

public function PoDatabaseWriter::setLangcode in Zircon Profile 8

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

Set language code.

Parameters

string $langcode: Language code string.

Overrides PoMetadataInterface::setLangcode

File

core/modules/locale/src/PoDatabaseWriter.php, line 80
Contains \Drupal\locale\PoDatabaseWriter.

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

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