You are here

public function PoDatabaseWriter::getHeader in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/locale/src/PoDatabaseWriter.php \Drupal\locale\PoDatabaseWriter::getHeader()

Get header metadata.

Return value

\Drupal\Component\Gettext\PoHeader Header instance representing metadata in a PO header.

Overrides PoMetadataInterface::getHeader

File

core/modules/locale/src/PoDatabaseWriter.php, line 140

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

public function getHeader() {
  return $this->header;
}