You are here

protected property AddToWishlistLink::$variation in Commerce Add To Cart Link 2.x

Same name and namespace in other branches
  1. 8 modules/wishlist/src/AddToWishlistLink.php \Drupal\commerce_add_to_wishlist_link\AddToWishlistLink::variation

The product variation.

Type: \Drupal\commerce_product\Entity\ProductVariationInterface

File

modules/wishlist/src/AddToWishlistLink.php, line 19

Class

AddToWishlistLink
Defines a helper class for constructing add to wishlist links.

Namespace

Drupal\commerce_add_to_wishlist_link

Code

protected $variation;