function PoMetadataInterface::getLangcode

Get language code.

Return value

string Language code string.

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

File

drupal/core/lib/Drupal/Component/Gettext/PoMetadataInterface.php, line 34
Definition of Drupal\Component\Gettext\PoMetadataInterface.

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

function getLangcode();