W3cubDocs

/Drupal 8

public function PoMetadataInterface::setLangcode

public PoMetadataInterface::setLangcode($langcode)

Set language code.

Parameters

string $langcode: Language code string.

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);

© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/core!lib!Drupal!Component!Gettext!PoMetadataInterface.php/function/PoMetadataInterface::setLangcode/8.1.x