You are here

public function PoDatabaseReader::setLangcode in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::setLangcode()
  2. 9 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::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;
}