You are here

public function PromotionOfferInterface::getEntityTypeId in Commerce Core 8.2

Gets the offer entity type ID.

This is the entity type ID of the entity passed to apply().

Return value

string The offer's entity type ID.

1 method overrides PromotionOfferInterface::getEntityTypeId()
PromotionOfferBase::getEntityTypeId in modules/promotion/src/Plugin/Commerce/PromotionOffer/PromotionOfferBase.php
Gets the offer entity type ID.

File

modules/promotion/src/Plugin/Commerce/PromotionOffer/PromotionOfferInterface.php, line 30

Class

PromotionOfferInterface
Defines the base interface for offers.

Namespace

Drupal\commerce_promotion\Plugin\Commerce\PromotionOffer

Code

public function getEntityTypeId();