public function ProductType::getVariationTypeId in Commerce Core 8.2
Gets the product type's matching variation type ID.
Return value
string The variation type ID.
Overrides ProductTypeInterface::getVariationTypeId
File
- modules/
product/ src/ Entity/ ProductType.php, line 111
Class
- ProductType
- Defines the product type entity class.
Namespace
Drupal\commerce_product\EntityCode
public function getVariationTypeId() {
return $this->variationType;
}