public function WishlistEntityAddEvent::getWishlist in Commerce Wishlist 8.3
Gets the wishlist entity.
Return value
\Drupal\commerce_wishlist\Entity\WishlistInterface The wishlist entity.
File
- src/
Event/ WishlistEntityAddEvent.php, line 70
Class
- WishlistEntityAddEvent
- Defines the wishlist entity add event.
Namespace
Drupal\commerce_wishlist\EventCode
public function getWishlist() {
return $this->wishlist;
}