public function WishlistInterface::setItems in Commerce Wishlist 8.3
Sets the wishlist items.
Parameters
\Drupal\commerce_wishlist\Entity\WishlistItemInterface[] $wishlist_items: The wishlist items.
Return value
$this
1 method overrides WishlistInterface::setItems()
- Wishlist::setItems in src/
Entity/ Wishlist.php - Sets the wishlist items.
File
- src/
Entity/ WishlistInterface.php, line 85
Class
- WishlistInterface
- Defines the interface for wishlists.
Namespace
Drupal\commerce_wishlist\EntityCode
public function setItems(array $wishlist_items);