PoItem::$translation

Same name in other branches
  1. 8.9.x core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::translation
  2. 10 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::translation
  3. 11.x core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::translation

The translation string or array of strings if it has plurals.

Type: string|array

See also

$plural

File

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

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

protected $translation;

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