You are here

public function PoItem::__toString in Localization update 7.2

Output the PoItem as a string.

Return value

string PO item string value.

File

includes/gettext/PoItem.php, line 230
Definition of Drupal\Component\Gettext\PoItem.

Class

PoItem
PoItem handles one translation.

Code

public function __toString() {
  return $this
    ->formatItem();
}