function PoMetadataInterface::setLangcode

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

Set language code.

Parameters

string $langcode: Language code string.

2 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.

File

core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 19

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function setLangcode($langcode);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.