You are here

public function NumberPattern::getTargetEntityTypeId in Commerce Core 8.2

Gets the target entity type ID.

This is the entity type for which the pattern will be used. For example, "commerce_order".

Return value

string The target entity type ID.

Overrides NumberPatternInterface::getTargetEntityTypeId

File

modules/number_pattern/src/Entity/NumberPattern.php, line 109

Class

NumberPattern
Defines the number pattern entity class.

Namespace

Drupal\commerce_number_pattern\Entity

Code

public function getTargetEntityTypeId() {
  return $this->targetEntityType;
}