public function WishlistInterface::hasItems in Commerce Wishlist 8.3
Gets whether the wishlist has wishlist items.
Return value
bool TRUE if the wishlist has wishlist items, FALSE otherwise.
1 method overrides WishlistInterface::hasItems()
- Wishlist::hasItems in src/
Entity/ Wishlist.php - Gets whether the wishlist has wishlist items.
File
- src/
Entity/ WishlistInterface.php, line 93
Class
- WishlistInterface
- Defines the interface for wishlists.
Namespace
Drupal\commerce_wishlist\EntityCode
public function hasItems();