public function PoMetadataInterface::setLangcode in Localization update 7.2
Set language code.
Parameters
string $langcode: Language code string.
5 methods override PoMetadataInterface::setLangcode()
- PoDatabaseReader::setLangcode in includes/
locale/ PoDatabaseReader.php - Implements PoMetadataInterface::setLangcode().
- PoDatabaseWriter::setLangcode in includes/
locale/ PoDatabaseWriter.php - Implements PoMetadataInterface::setLangcode().
- PoMemoryWriter::setLangcode in includes/
gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
- PoStreamReader::setLangcode in includes/
gettext/ PoStreamReader.php - Implements PoMetadataInterface::setLangcode().
- PoStreamWriter::setLangcode in includes/
gettext/ PoStreamWriter.php - Set the language code.
File
- includes/
gettext/ PoMetadataInterface.php, line 22 - Definition of Drupal\Component\Gettext\PoMetadataInterface.
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Code
public function setLangcode($langcode);