W3cubDocs

/Drupal 8

public function PoMetadataInterface::getLangcode

public PoMetadataInterface::getLangcode()

Get language code.

Return value

string Language code string.

File

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

Class

PoMetadataInterface
Methods required for both reader and writer implementations.

Namespace

Drupal\Component\Gettext

Code

public function getLangcode();

© 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::getLangcode/8.1.x