public function PriceListItemType::getPurchasableEntityType in Commerce Pricelist 8
Gets the price list item type's purchasable entity type.
Return value
\Drupal\Core\Entity\EntityTypeInterface The purchasable entity type definition.
Overrides PriceListItemTypeInterface::getPurchasableEntityType
File
- src/
Entity/ PriceListItemType.php, line 81
Class
- PriceListItemType
- Defines the price list item type entity class.
Namespace
Drupal\commerce_pricelist\EntityCode
public function getPurchasableEntityType() {
return $this
->entityTypeManager()
->getDefinition($this->purchasableEntityType);
}