You are here

public function PoDatabaseWriter::getLangcode in Zircon Profile 8

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

Get language code.

Return value

string Language code string.

Overrides PoMetadataInterface::getLangcode

File

core/modules/locale/src/PoDatabaseWriter.php, line 73
Contains \Drupal\locale\PoDatabaseWriter.

Class

PoDatabaseWriter
Gettext PO writer working with the locale module database.

Namespace

Drupal\locale

Code

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