PoDatabaseReader::getHeader

public PoDatabaseReader::getHeader()

Get header metadata.

Return value

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

Overrides PoMetadataInterface::getHeader

File

core/modules/locale/src/PoDatabaseReader.php, line 87

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

public function getHeader() {
  return new PoHeader($this->getLangcode());
}
doc_Drupal
2016-10-29 09:34:23
Comments
Leave a Comment

Please login to continue.