public function PriceListItemTypeInterface::setPurchasableEntityTypeId in Commerce Pricelist 8
Sets the price list item type's purchasable entity type ID.
Parameters
string $purchasable_entity_type_id: The purchasable entity type.
Return value
$this
1 method overrides PriceListItemTypeInterface::setPurchasableEntityTypeId()
- PriceListItemType::setPurchasableEntityTypeId in src/
Entity/ PriceListItemType.php - Sets the price list item type's purchasable entity type ID.
File
- src/
Entity/ PriceListItemTypeInterface.php, line 39
Class
- PriceListItemTypeInterface
- Defines the interface for price list item types.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setPurchasableEntityTypeId($purchasable_entity_type_id);