public function WishlistItemInterface::getWishlist in Commerce Wishlist 8.3
Gets the parent wishlist.
Return value
\Drupal\commerce_wishlist\Entity\WishlistInterface|null The wishlist, or NULL.
1 method overrides WishlistItemInterface::getWishlist()
- WishlistItem::getWishlist in src/
Entity/ WishlistItem.php - Gets the parent wishlist.
File
- src/
Entity/ WishlistItemInterface.php, line 20
Class
- WishlistItemInterface
- Defines the interface for wishlist items.
Namespace
Drupal\commerce_wishlist\EntityCode
public function getWishlist();