public function PoHeader::getPluralForms in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Gettext/PoHeader.php \Drupal\Component\Gettext\PoHeader::getPluralForms()
- 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\GettextCode
public function getPluralForms() {
return $this->pluralForms;
}