You are here

public function PoStreamReader::setLangcode in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()
  2. 9 core/lib/Drupal/Component/Gettext/PoStreamReader.php \Drupal\Component\Gettext\PoStreamReader::setLangcode()

File

core/lib/Drupal/Component/Gettext/PoStreamReader.php, line 110

Class

PoStreamReader
Implements Gettext PO stream reader.

Namespace

Drupal\Component\Gettext

Code

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