You are here

protected function PurchasedEntityConditionBase::getPurchasableEntityType in Commerce Core 8.2

Gets the purchasable entity type.

Return value

string The purchasable entity type.

5 calls to PurchasedEntityConditionBase::getPurchasableEntityType()
PurchasedEntityConditionBase::buildConfigurationForm in modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php
Form constructor.
PurchasedEntityConditionBase::getPurchasableEntities in modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php
Gets the configured purchasable entities.
PurchasedEntityConditionBase::getPurchasableEntityIds in modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php
Gets the configured purchasable entity IDS.
PurchasedEntityConditionBase::isValid in modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php
Determines whether the given purchasable entity is "valid".
PurchasedEntityConditionBase::submitConfigurationForm in modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php
Form submission handler.

File

modules/order/src/Plugin/Commerce/Condition/PurchasedEntityConditionBase.php, line 80

Class

PurchasedEntityConditionBase

Namespace

Drupal\commerce_order\Plugin\Commerce\Condition

Code

protected function getPurchasableEntityType() : string {
  return $this->pluginDefinition['purchasable_entity_type'];
}