You are here

public function PoMetadataInterface::setLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setLangcode()

Set language code.

Parameters

string $langcode: Language code string.

5 methods override PoMetadataInterface::setLangcode()
PoDatabaseReader::setLangcode in core/modules/locale/src/PoDatabaseReader.php
Set language code.
PoDatabaseWriter::setLangcode in core/modules/locale/src/PoDatabaseWriter.php
Set language code.
PoMemoryWriter::setLangcode in core/lib/Drupal/Component/Gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
PoStreamReader::setLangcode in core/lib/Drupal/Component/Gettext/PoStreamReader.php
Set language code.
PoStreamWriter::setLangcode in core/lib/Drupal/Component/Gettext/PoStreamWriter.php
Set the language code.

File

core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 24
Contains \Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function setLangcode($langcode);