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