You are here

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

Email
Defines the email entity class.

Namespace

Drupal\commerce_email\Entity

Code

public function setEventId($event_id) {
  $this->event = $event_id;
  return $this;
}