You are here

public function PoHeader::setLanguageName in Drupal 9

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()
  2. 10 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setLanguageName()

Set the human readable language name.

Parameters

string $languageName: Human readable language name.

File

core/lib/Drupal/Component/Gettext/PoHeader.php, line 98

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

public function setLanguageName($languageName) {
  $this->languageName = $languageName;
}