You are here

public function PoMetadataInterface::getLangcode in Service Container 7

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

Get language code.

Return value

string Language code string.

3 methods override PoMetadataInterface::getLangcode()
PoMemoryWriter::getLangcode in lib/Drupal/Component/Gettext/PoMemoryWriter.php
Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
PoStreamReader::getLangcode in lib/Drupal/Component/Gettext/PoStreamReader.php
Get language code.
PoStreamWriter::getLangcode in lib/Drupal/Component/Gettext/PoStreamWriter.php
Gets the current language code used.

File

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

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function getLangcode();