You are here

public function ProductTypeInterface::setMultipleVariations in Commerce Core 8.2

Sets whether products of this type can have multiple variations.

Parameters

bool $multiple_variations: Whether products of this type can have multiple variations.

Return value

$this

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

File

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

Class

ProductTypeInterface
Defines the interface for product types.

Namespace

Drupal\commerce_product\Entity

Code

public function setMultipleVariations($multiple_variations);