PoItem::$source

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

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

Type: string|array

See also

$plural

File

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

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

protected $source;

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