Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. PoItem.php

function PoItem::getLangcode

Gets the language code of the currently used language.

Return value

string with langcode

File

core/lib/Drupal/Component/Gettext/PoItem.php, line 72

Class

PoItem
PoItem handles one translation.

Namespace

Drupal\Component\Gettext

Code

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

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal