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
- Defines the email entity class.
Namespace
Drupal\commerce_email\EntityCode
public function getTargetEntityTypeId() {
return $this->targetEntityType;
}