You are here

public function PoItem::isPlural in Drupal 9

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

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

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