You are here

public function PoItem::isPlural in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::isPlural()
  2. 9 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 163

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

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