public function ProductTypeInterface::getVariationTypeId in Commerce Core 8.2
Gets the product type's matching variation type ID.
Return value
string The variation type ID.
1 method overrides ProductTypeInterface::getVariationTypeId()
- ProductType::getVariationTypeId in modules/
product/ src/ Entity/ ProductType.php - Gets the product type's matching variation type ID.
File
- modules/
product/ src/ Entity/ ProductTypeInterface.php, line 19
Class
- ProductTypeInterface
- Defines the interface for product types.
Namespace
Drupal\commerce_product\EntityCode
public function getVariationTypeId();