function PoWriterInterface::writeItem

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

Writes the given item.

Parameters

PoItem $item: One specific item to write.

1 method overrides PoWriterInterface::writeItem()
PoDatabaseWriter::writeItem in core/modules/locale/src/PoDatabaseWriter.php
Writes the given item.

File

core/lib/Drupal/Component/Gettext/PoWriterInterface.php, line 16

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Namespace

Drupal\Component\Gettext

Code

public function writeItem(PoItem $item);

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