You are here

public function PoMetadataInterface::getHeader in Drupal 9

Same name and namespace in other branches
  1. 8 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\Gettext

Code

public function getHeader();