function PoHeader::getPluralForms

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

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

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoHeader.php/function/PoHeader::getPluralForms/8.1.x