You are here

public function ProductTypeInterface::allowsMultipleVariations in Commerce Core 8.2

Gets whether products of this type can have multiple variations.

Return value

bool TRUE if products of this type can have multiple variations, FALSE otherwise.

1 method overrides ProductTypeInterface::allowsMultipleVariations()
ProductType::allowsMultipleVariations in modules/product/src/Entity/ProductType.php
Gets whether products of this type can have multiple variations.

File

modules/product/src/Entity/ProductTypeInterface.php, line 38

Class

ProductTypeInterface
Defines the interface for product types.

Namespace

Drupal\commerce_product\Entity

Code

public function allowsMultipleVariations();