Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PoStreamWriter.php

function 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\Gettext

Code

private function writeHeader() {
    $this->write($this->header);
}
RSS feed
Powered by Drupal