public function PoMetadataInterface::setLangcode in Service Container 7
Same name and namespace in other branches
- 7.2 lib/Drupal/Component/Gettext/PoMetadataInterface.php \Drupal\Component\Gettext\PoMetadataInterface::setLangcode()
Set language code.
Parameters
string $langcode: Language code string.
3 methods override PoMetadataInterface::setLangcode()
- PoMemoryWriter::setLangcode in lib/
Drupal/ Component/ Gettext/ PoMemoryWriter.php - Implements Drupal\Component\Gettext\PoMetadataInterface:setLangcode().
- PoStreamReader::setLangcode in lib/
Drupal/ Component/ Gettext/ PoStreamReader.php - Set language code.
- PoStreamWriter::setLangcode in lib/
Drupal/ Component/ Gettext/ PoStreamWriter.php - Set the language code.
File
- lib/
Drupal/ Component/ Gettext/ PoMetadataInterface.php, line 24 - Contains \Drupal\Component\Gettext\PoMetadataInterface.
Class
- PoMetadataInterface
- Methods required for both reader and writer implementations.
Namespace
Drupal\Component\GettextCode
public function setLangcode($langcode);