You are here

public function ProductTypeInterface::setVariationTypeId in Commerce Core 8.2

Sets the product type's matching variation type ID.

Parameters

string $variation_type_id: The variation type ID.

Return value

$this

1 method overrides ProductTypeInterface::setVariationTypeId()
ProductType::setVariationTypeId in modules/product/src/Entity/ProductType.php
Sets the product type's matching variation type ID.

File

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

Class

ProductTypeInterface
Defines the interface for product types.

Namespace

Drupal\commerce_product\Entity

Code

public function setVariationTypeId($variation_type_id);