You are here

constant WishlistEvents::WISHLIST_ASSIGN in Commerce Wishlist 8.3

Name of the event fired after assigning the anonymous wishlist to a user.

Fired before the wishlist is saved.

Use this event to implement logic such as canceling any existing wishlists the user might already have prior to the anonymous wishlist assignment.

See also

\Drupal\commerce_wishlist\Event\WishlistAssignEvent

File

src/Event/WishlistEvents.php, line 22

Class

WishlistEvents
Defines events for the wishlist module.

Namespace

Drupal\commerce_wishlist\Event

Code

const WISHLIST_ASSIGN = 'commerce_wishlist.wishlist.assign';