You are here

public function PoMetadataInterface::setHeader in Drupal 10

Same name and namespace in other branches
  1. 8 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setHeader()
  2. 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\Gettext

Code

public function setHeader(PoHeader $header);