function PoMetadataInterface::getHeader
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::getHeader()
- 10 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::getHeader()
- 11.x core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::getHeader()
Get header metadata.
Return value
\Drupal\Component\Gettext\PoHeader Header instance representing metadata in a PO header.
5 methods override PoMetadataInterface::getHeader()
- PoDatabaseReader::getHeader in core/
modules/ locale/ src/ PoDatabaseReader.php - Get header metadata.
- PoDatabaseWriter::getHeader in core/
modules/ locale/ src/ PoDatabaseWriter.php - Get header metadata.
- PoMemoryWriter::getHeader in core/
lib/ Drupal/ Component/ Gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:getHeader().
- PoStreamReader::getHeader in core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Get header metadata.
- PoStreamWriter::getHeader in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Gets the PO header of the current stream.
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 43
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function getHeader();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.