function PoHeader::setProjectName
Same name in other branches
- 8.9.x core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setProjectName()
- 10 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::setProjectName()
- 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\GettextCode
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.