function PoDatabaseReader::getLangcode

Same name in other branches
  1. 9 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getLangcode()
  2. 10 core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getLangcode()
  3. 11.x core/modules/locale/src/PoDatabaseReader.php \Drupal\locale\PoDatabaseReader::getLangcode()

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 54

Class

PoDatabaseReader
Gettext PO reader working with the locale module database.

Namespace

Drupal\locale

Code

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

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