public function PoMetadataInterface::setHeader in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setHeader()
- 9 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setHeader()
Set header metadata.
Parameters
\Drupal\Component\Gettext\PoHeader $header: Header object representing metadata in a PO header.
File
- core/
lib/ Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 35
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function setHeader(PoHeader $header);