public function PoMetadataInterface::setLangcode in Drupal 8
Same name and namespace in other branches
- 9 core/lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setLangcode()
Set language code.
Parameters
string $langcode: Language code string.
5 methods override PoMetadataInterface::setLangcode()
- PoDatabaseReader::setLangcode in core/
modules/ locale/ src/ PoDatabaseReader.php - Set language code.
- PoDatabaseWriter::setLangcode in core/
modules/ locale/ src/ PoDatabaseWriter.php - Set language code.
- PoMemoryWriter::setLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
- PoStreamReader::setLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoStreamReader.php - Set language code.
- PoStreamWriter::setLangcode in core/
lib/ Drupal/ Component/ Gettext/ PoStreamWriter.php - Set the language code.
File
- core/
lib/ Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 19
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function setLangcode($langcode);