public function PoMetadataInterface::getLangcode in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::getLangcode()
Get language code.
Return value
string Language code string.
5 methods override PoMetadataInterface::getLangcode()
- PoDatabaseReader::getLangcode in core/
modules/ locale/ src/ PoDatabaseReader.php - Get language code.
- PoDatabaseWriter::getLangcode in core/
modules/ locale/ src/ PoDatabaseWriter.php - Get language code.
- PoMemoryWriter::getLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:getLangcode().
- PoStreamReader::getLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Get language code.
- PoStreamWriter::getLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Gets the current language code used.
File
- core/
lib/ Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 32 - Contains \Drupal\Component\Gettext\PoMetadataInterface.
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function getLangcode();