public function WishlistItem::setComment in Commerce Wishlist 8.3
Sets the wishlist item comment.
Parameters
string $comment: The wishlist item comment.
Return value
$this
Overrides WishlistItemInterface::setComment
File
- src/
Entity/ WishlistItem.php, line 154
Class
- WishlistItem
- Defines the wishlist item entity class.
Namespace
Drupal\commerce_wishlist\EntityCode
public function setComment($comment) {
$this
->set('comment', $comment);
return $this;
}