You are here

public function ConditionInterface::getEntityTypeId in Commerce Core 8.2

Gets the condition entity type ID.

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

Return value

string The condition's entity type ID.

1 method overrides ConditionInterface::getEntityTypeId()
ConditionBase::getEntityTypeId in src/Plugin/Commerce/Condition/ConditionBase.php
Gets the condition entity type ID.

File

src/Plugin/Commerce/Condition/ConditionInterface.php, line 42

Class

ConditionInterface
Defines the interface for conditions.

Namespace

Drupal\commerce\Plugin\Commerce\Condition

Code

public function getEntityTypeId();