public function PoStreamWriter::setHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::setHeader()
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 52 - Contains \Drupal\Component\Gettext\PoStreamWriter.
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
public function setHeader(PoHeader $header) {
$this->_header = $header;
}