You are here

public function PoItem::setPlural in Localization update 7.2

Set if the translation has plural values.

Parameters

bool $plural: The translation plural flag.

1 call to PoItem::setPlural()
PoItem::setFromArray in includes/gettext/PoItem.php
Create the PoItem from a structured array.

File

includes/gettext/PoItem.php, line 166
Definition of Drupal\Component\Gettext\PoItem.

Class

PoItem
PoItem handles one translation.

Code

public function setPlural($plural) {
  $this->_plural = $plural;
}