You are here

public function WishlistProviderInterface::getWishlistIds in Commerce Wishlist 8.3

Gets all wishlist entity ids for the given user.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user. If empty, the current user is assumed.

Return value

int[] A list of wishlist entity ids.

1 method overrides WishlistProviderInterface::getWishlistIds()
WishlistProvider::getWishlistIds in src/WishlistProvider.php
Gets all wishlist entity ids for the given user.

File

src/WishlistProviderInterface.php, line 78

Class

WishlistProviderInterface
Creates and loads wishlists for anonymous and authenticated users.

Namespace

Drupal\commerce_wishlist

Code

public function getWishlistIds(AccountInterface $account = NULL);