W3cubDocs

/Drupal 8

interface PoReaderInterface

Shared interface definition for all Gettext PO Readers.

Hierarchy

File

core/lib/Drupal/Component/Gettext/PoReaderInterface.php, line 8

Namespace

Drupal\Component\Gettext

Members

Name Modifiers Type Description
PoMetadataInterface::getHeader public function Get header metadata.
PoMetadataInterface::getLangcode public function Get language code.
PoMetadataInterface::setHeader public function Set header metadata.
PoMetadataInterface::setLangcode public function Set language code.
PoReaderInterface::readItem public function Reads and returns a PoItem (source/translation pair).

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoReaderInterface.php/interface/PoReaderInterface/8.1.x