function PoMemoryWriter::getLangcode

Same name and namespace in other branches
  1. 11.x core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::getLangcode()
  2. 10 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::getLangcode()
  3. 9 core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::getLangcode()
  4. 8.9.x core/lib/Drupal/Component/Gettext/PoMemoryWriter.php \Drupal\Component\Gettext\PoMemoryWriter::getLangcode()

Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().

Not implemented. Not relevant for the MemoryWriter.

File

core/lib/Drupal/Component/Gettext/PoMemoryWriter.php, line 69

Class

PoMemoryWriter
Defines a Gettext PO memory writer, to be used by the installer.

Namespace

Drupal\Component\Gettext

Code

public function getLangcode() {
  throw new \LogicException(__METHOD__ . '() not implemented. Not relevant for the MemoryWriter');
}

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