function PoHeader::setProjectName

Same name in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setProjectName()
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setProjectName()
  3. 11.x core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setProjectName()

Set the project name.

Parameters

string $projectName: Human readable project name.

File

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

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

public function setProjectName($projectName) {
    $this->projectName = $projectName;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.