You are here

public function Email::getTargetEntityTypeId in Commerce Email 8

Gets the target entity type ID.

This is the entity type for which the email will be built. For example, "commerce_order".

Return value

string The target entity type ID.

Overrides EmailInterface::getTargetEntityTypeId

File

src/Entity/Email.php, line 185

Class

Email
Defines the email entity class.

Namespace

Drupal\commerce_email\Entity

Code

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