You are here

public function WishlistStorageInterface::loadMultipleByUser in Commerce Wishlist 8.3

Loads the given user's wishlists.

Parameters

\Drupal\Core\Session\AccountInterface $account: The user.

string $wishlist_type_id: The wishlist type ID.

Return value

\Drupal\profile\Entity\ProfileInterface[] The wishlists, ordered by ID, descending.

1 method overrides WishlistStorageInterface::loadMultipleByUser()
WishlistStorage::loadMultipleByUser in src/WishlistStorage.php
Loads the given user's wishlists.

File

src/WishlistStorageInterface.php, line 48

Class

WishlistStorageInterface
Defines the interface for wishlist storage.

Namespace

Drupal\commerce_wishlist

Code

public function loadMultipleByUser(AccountInterface $account, $wishlist_type_id);