public function OrderItemType::setPurchasableEntityTypeId in Commerce Core 8.2
Sets the order item type's purchasable entity type ID.
Parameters
string $purchasable_entity_type_id: The purchasable entity type.
Return value
$this
Overrides OrderItemTypeInterface::setPurchasableEntityTypeId
File
- modules/
order/ src/ Entity/ OrderItemType.php, line 87
Class
- OrderItemType
- Defines the order item type entity class.
Namespace
Drupal\commerce_order\EntityCode
public function setPurchasableEntityTypeId($purchasable_entity_type_id) {
$this->purchasableEntityType = $purchasable_entity_type_id;
return $this;
}