You are here

public function PoMemoryWriter::getData in Drupal 8

Same name and namespace in other branches
  1. 9 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::getData()
  2. 10 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;
}