You are here

public function PoStreamWriter::setHeader in Localization update 7.2

Set the PO header for the current stream.

Parameters

PoHeader $header: The Gettext PO header to set.

Overrides PoMetadataInterface::setHeader

File

includes/gettext/PoStreamWriter.php, line 50
Definition of Drupal\Component\Gettext\PoStreamWriter.

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Code

public function setHeader(PoHeader $header) {
  $this->_header = $header;
}