You are here

public function PoStreamWriter::writeItem in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::writeItem()
  2. 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::writeItem()

File

core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 130

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function writeItem(PoItem $item) {
  $this
    ->write($item);
}