You are here

public function PoHeader::getPluralForms in Drupal 10

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

Gets the plural form.

Return value

string Plural form component from the header, for example: 'nplurals=2; plural=(n > 1);'.

File

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

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

public function getPluralForms() {
  return $this->pluralForms;
}