public function ProductVariationType::getOrderItemTypeId in Commerce Core 8.2
Gets the product variation type's order item type ID.
Used for finding/creating the appropriate order item when purchasing a product (adding it to an order).
Return value
string The order item type ID.
Overrides ProductVariationTypeInterface::getOrderItemTypeId
File
- modules/
product/ src/ Entity/ ProductVariationType.php, line 80
Class
- ProductVariationType
- Defines the product variation type entity class.
Namespace
Drupal\commerce_product\EntityCode
public function getOrderItemTypeId() {
return $this->orderItemType;
}