public function PoDatabaseReader::getHeader in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\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 92 - Contains \Drupal\locale\PoDatabaseReader.
Class
- PoDatabaseReader
- Gettext PO reader working with the locale module database.
Namespace
Drupal\localeCode
public function getHeader() {
return new PoHeader($this
->getLangcode());
}