You are here

public function WishlistStorageInterface::loadByCode in Commerce Wishlist 8.3

Loads the wishlist for the given code.

Parameters

string $code: The code.

Return value

\Drupal\commerce_wishlist\Entity\WishlistInterface|null The wishlist, or NULL if none found.

1 method overrides WishlistStorageInterface::loadByCode()
WishlistStorage::loadByCode in src/WishlistStorage.php
Loads the wishlist for the given code.

File

src/WishlistStorageInterface.php, line 22

Class

WishlistStorageInterface
Defines the interface for wishlist storage.

Namespace

Drupal\commerce_wishlist

Code

public function loadByCode($code);