You are here

public function PoMetadataInterface::setHeader in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setHeader()

Set header metadata.

Parameters

\Drupal\Component\Gettext\PoHeader $header: Header object representing metadata in a PO header.

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

File

core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 40
Contains \Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function setHeader(PoHeader $header);