You are here

function PoHeader::getPluralForms in Service Container 7

Same name and namespace in other branches
  1. 7.2 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

lib/Drupal/Component/Gettext/PoHeader.php, line 93
Contains \Drupal\Component\Gettext\PoHeader.

Class

PoHeader
Gettext PO header handler.

Namespace

Drupal\Component\Gettext

Code

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