public function PoStreamWriter::getHeader in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getHeader()
- 10 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::getHeader()
Gets the PO header of the current stream.
Return value
\Drupal\Component\Gettext\PoHeader The Gettext PO header.
Overrides PoMetadataInterface::getHeader
File
- core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php, line 44
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
public function getHeader() {
return $this->header;
}