function PoHeader::getProjectName

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

Gets the project name.

Return value

string The human readable project name.

File

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

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

public function getProjectName() {
    return $this->projectName;
}

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