public function PoReaderInterface::readItem in Drupal 9
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Gettext/PoReaderInterface.php \Drupal\Component\Gettext\PoReaderInterface::readItem()
Reads and returns a PoItem (source/translation pair).
Return value
\Drupal\Component\Gettext\PoItem Wrapper for item data instance.
2 methods override PoReaderInterface::readItem()
- PoDatabaseReader::readItem in core/
modules/ locale/ src/ PoDatabaseReader.php - Reads and returns a PoItem (source/translation pair).
- PoStreamReader::readItem in core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Reads and returns a PoItem (source/translation pair).
File
- core/
lib/ Drupal/ Component/ Gettext/ PoReaderInterface.php, line 16
Class
- PoReaderInterface
- Shared interface definition for all Gettext PO Readers.
Namespace
Drupal\Component\GettextCode
public function readItem();