PoStreamWriter::setHeader

public PoStreamWriter::setHeader(PoHeader $header)

Set the PO header for the current stream.

Parameters

\Drupal\Component\Gettext\PoHeader $header: The Gettext PO header to set.

Overrides PoMetadataInterface::setHeader

File

core/lib/Drupal/Component/Gettext/PoStreamWriter.php, line 47

Class

PoStreamWriter
Defines a Gettext PO stream writer.

Namespace

Drupal\Component\Gettext

Code

public function setHeader(PoHeader $header) {
  $this->_header = $header;
}
doc_Drupal
2016-10-29 09:34:48
Comments
Leave a Comment

Please login to continue.