public function PriceListItemInterface::getPurchasableEntity in Commerce Pricelist 8.2
Gets the purchasable entity.
Return value
\Drupal\commerce\PurchasableEntityInterface|null The purchasable entity, or NULL.
1 method overrides PriceListItemInterface::getPurchasableEntity()
- PriceListItem::getPurchasableEntity in src/
Entity/ PriceListItem.php - Gets the purchasable entity.
File
- src/
Entity/ PriceListItemInterface.php, line 38
Class
- PriceListItemInterface
- Defines the interface for price list items.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getPurchasableEntity();