function PoMetadataInterface::getLangcode

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

Get language code.

Return value

string Language code string.

2 methods override PoMetadataInterface::getLangcode()
PoDatabaseReader::getLangcode in core/modules/locale/src/PoDatabaseReader.php
Get language code.
PoDatabaseWriter::getLangcode in core/modules/locale/src/PoDatabaseWriter.php
Get language code.

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.