You are here

public function ProductInterface::getVariations in Commerce Core 8.2

Gets the variations.

Return value

\Drupal\commerce_product\Entity\ProductVariationInterface[] The variations.

1 method overrides ProductInterface::getVariations()
Product::getVariations in modules/product/src/Entity/Product.php
Gets the variations.

File

modules/product/src/Entity/ProductInterface.php, line 66

Class

ProductInterface
Defines the interface for products.

Namespace

Drupal\commerce_product\Entity

Code

public function getVariations();