function PoStreamWriter::writeHeader
Same name in other branches
- 9 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::writeHeader()
- 10 core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::writeHeader()
- 11.x core/lib/Drupal/Component/Gettext/PoStreamWriter.php \Drupal\Component\Gettext\PoStreamWriter::writeHeader()
Write the PO header to the stream.
1 call to PoStreamWriter::writeHeader()
- PoStreamWriter::open in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Open the stream. Set the URI for the stream earlier with setURI().
File
-
core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php, line 123
Class
- PoStreamWriter
- Defines a Gettext PO stream writer.
Namespace
Drupal\Component\GettextCode
private function writeHeader() {
$this->write($this->header);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.