function PoDatabaseReader::getHeader
Same name in other branches
- 8.9.x core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getHeader()
- 10 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getHeader()
- 11.x core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getHeader()
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\localeCode
public function getHeader() {
return new PoHeader($this->getLangcode());
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.