function PoItem::isPlural

Same name in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::isPlural()
  2. 8.9.x core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::isPlural()
  3. 10 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::isPlural()

Get if the translation has plural values.

Return value

bool

File

core/lib/Drupal/Component/Gettext/PoItem.php, line 161

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

public function isPlural() {
    return $this->plural;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.