public function PriceListItemInterface::setPurchasableEntityId in Commerce Pricelist 8.2
Sets the purchasable entity ID.
Parameters
string $purchasable_entity_id: The purchasable entity ID.
Return value
$this
1 method overrides PriceListItemInterface::setPurchasableEntityId()
- PriceListItem::setPurchasableEntityId in src/
Entity/ PriceListItem.php - Sets the purchasable entity ID.
File
- src/
Entity/ PriceListItemInterface.php, line 66
Class
- PriceListItemInterface
- Defines the interface for price list items.
Namespace
Drupal\commerce_pricelist\EntityCode
public function setPurchasableEntityId($purchasable_entity_id);