function PoHeader::getPluralForms
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::getPluralForms()
- 10 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::getPluralForms()
- 11.x 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\GettextCode
public function getPluralForms() {
return $this->pluralForms;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.