Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PoWriterInterface.php

function PoWriterInterface::writeItems

Writes all or the given amount of items.

Parameters

PoReaderInterface $reader: Reader to read PoItems from.

int $count: Amount of items to read from $reader to write. If -1, all items are read from $reader.

3 methods override PoWriterInterface::writeItems()
PoDatabaseWriter::writeItems in core/modules/locale/src/PoDatabaseWriter.php
Writes all or the given amount of items.
PoMemoryWriter::writeItems in core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
Writes all or the given amount of items.
PoStreamWriter::writeItems in core/lib/Drupal/Component/Gettext/PoStreamWriter.php
Writes all or the given amount of items.

File

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

Class

PoWriterInterface
Shared interface definition for all Gettext PO Writers.

Namespace

Drupal\Component\Gettext

Code

public function writeItems(PoReaderInterface $reader, $count = -1);

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal