You are here

public function PoWriterInterface::writeItem in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Gettext/PoWriterInterface.php \Drupal\Component\Gettext\PoWriterInterface::writeItem()

Writes the given item.

Parameters

PoItem $item: One specific item to write.

3 methods override PoWriterInterface::writeItem()
PoDatabaseWriter::writeItem in core/modules/locale/src/PoDatabaseWriter.php
Writes the given item.
PoMemoryWriter::writeItem in core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
Writes the given item.
PoStreamWriter::writeItem in core/lib/Drupal/Component/Gettext/PoStreamWriter.php
Writes the given item.

File

core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 21
Contains \Drupal\Component\Gettext\PoWriterInterface.

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Namespace

Drupal\Component\Gettext

Code

public function writeItem(PoItem $item);