You are here

public function PoMetadataInterface::getLangcode in Localization update 7.2

Get language code.

Return value

string Language code string.

5 methods override PoMetadataInterface::getLangcode()
PoDatabaseReader::getLangcode in includes/locale/PoDatabaseReader.php
Implements PoMetadataInterface::getLangcode().
PoDatabaseWriter::getLangcode in includes/locale/PoDatabaseWriter.php
Implements PoMetadataInterface::getLangcode().
PoMemoryWriter::getLangcode in includes/gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoStreamReader::getLangcode in includes/gettext/PoStreamReader.php
Implements PoMetadataInterface::getLangcode().
PoStreamWriter::getLangcode in includes/gettext/PoStreamWriter.php
Get the current language code used.

File

includes/gettext/PoMetadataInterface.php, line 30
Definition of Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Code

public function getLangcode();