public function PoItem::setComment in Drupal 10
Same name and namespace in other branches
- 8 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::setComment()
- 9 core/lib/Drupal/Component/Gettext/PoItem.php \Drupal\Component\Gettext\PoItem::setComment()
Set the comment of this translation.
Parameters
string $comment: The comment of this translation.
File
- core/
lib/ Drupal/ Component/ Gettext/ PoItem.php, line 182
Class
- PoItem
- PoItem handles one translation.
Namespace
Drupal\Component\GettextCode
public function setComment($comment) {
$this->comment = $comment;
}