You are here

public function PoMetadataInterface::setHeader in Localization update 7.2

Set header metadata.

Parameters

PoHeader $header: Header object representing metadata in a PO header.

5 methods override PoMetadataInterface::setHeader()
PoDatabaseReader::setHeader in includes/locale/PoDatabaseReader.php
Implements PoMetadataInterface::setHeader().
PoDatabaseWriter::setHeader in includes/locale/PoDatabaseWriter.php
Implements PoMetadataInterface::setHeader().
PoMemoryWriter::setHeader in includes/gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader().
PoStreamReader::setHeader in includes/gettext/PoStreamReader.php
Implements PoMetadataInterface::setHeader().
PoStreamWriter::setHeader in includes/gettext/PoStreamWriter.php
Set the PO header for the current stream.

File

includes/gettext/PoMetadataInterface.php, line 38
Definition of Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Code

public function setHeader(PoHeader $header);