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