public function Email::setTargetEntityTypeId in Commerce Email 8
Sets the target entity type ID.
Parameters
string $entity_type_id: The target entity type ID.
Return value
$this
Overrides EmailInterface::setTargetEntityTypeId
File
- src/
Entity/ Email.php, line 192
Class
- Defines the email entity class.
Namespace
Drupal\commerce_email\EntityCode
public function setTargetEntityTypeId($entity_type_id) {
$this->targetEntityType = $entity_type_id;
return $this;
}