public function PoItem::setContext in Localization update 7.2
Set the context this translation belongs to.
1 call to PoItem::setContext()
- PoItem::setFromArray in includes/
gettext/ PoItem.php - Create the PoItem from a structured array.
File
- includes/
gettext/ PoItem.php, line 119 - Definition of Drupal\Component\Gettext\PoItem.
Class
- PoItem
- PoItem handles one translation.
Code
public function setContext($context) {
$this->_context = $context;
}