You are here

public function PoMemoryWriter::getData in Drupal 10

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

Get all stored PoItem's.

Return value

array PoItem

File

core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 51

Class

PoMemoryWriter
Defines a Gettext PO memory writer, to be used by the installer.

Namespace

Drupal\Component\Gettext

Code

public function getData() {
  return $this->items;
}