public function WishlistEvent::__construct in Commerce Wishlist 8.3
Constructs a new WishlistEvent object.
Parameters
\Drupal\commerce_wishlist\Entity\WishlistInterface $wishlist: The wishlist.
File
- src/
Event/ WishlistEvent.php, line 28
Class
- WishlistEvent
- Defines the wishlist event.
Namespace
Drupal\commerce_wishlist\EventCode
public function __construct(WishlistInterface $wishlist) {
$this->wishlist = $wishlist;
}