public function PoMetadataInterface::setHeader in Service Container 7.2
Same name and namespace in other branches
- 7 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.
3 methods override PoMetadataInterface::setHeader()
- PoMemoryWriter::setHeader in lib/
Drupal/ Component/ Gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:setHeader().
- PoStreamReader::setHeader in lib/
Drupal/ Component/ Gettext/ PoStreamReader.php - Implements Drupal\Component\Gettext\PoMetadataInterface::setHeader().
- PoStreamWriter::setHeader in lib/
Drupal/ Component/ Gettext/ PoStreamWriter.php - Set the PO header for the current stream.
File
- lib/
Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 40 - Contains \Drupal\Component\Gettext\PoMetadataInterface.
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function setHeader(PoHeader $header);