You are here

public function PoHeader::setProjectName in Drupal 9

Same name and namespace in other branches
  1. 8 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;
}