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