You are here

public function PoDatabaseReader::getLangcode in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getLangcode()

Get language code.

Return value

string Language code string.

Overrides PoMetadataInterface::getLangcode

1 call to PoDatabaseReader::getLangcode()
PoDatabaseReader::getHeader in core/modules/locale/src/PoDatabaseReader.php
Get header metadata.

File

core/modules/locale/src/PoDatabaseReader.php, line 59
Contains \Drupal\locale\PoDatabaseReader.

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

public function getLangcode() {
  return $this->langcode;
}