You are here

protected property AddToCartLink::$variation in Commerce Add To Cart Link 8

Same name and namespace in other branches
  1. 2.x src/AddToCartLink.php \Drupal\commerce_add_to_cart_link\AddToCartLink::variation

The product variation.

Type: \Drupal\commerce_product\Entity\ProductVariationInterface

File

src/AddToCartLink.php, line 20

Class

AddToCartLink
Defines a helper class for constructing add to cart links.

Namespace

Drupal\commerce_add_to_cart_link

Code

protected $variation;