You are here

public function EasyEmailEvent::getEmail in Easy Email 2.0.x

Same name and namespace in other branches
  1. 8 src/Event/EasyEmailEvent.php \Drupal\easy_email\Event\EasyEmailEvent::getEmail()

Gets the entity email.

Return value

\Drupal\easy_email\Entity\EasyEmailInterface The entity email

File

src/Event/EasyEmailEvent.php, line 36

Class

EasyEmailEvent
Defines the Entity Email event.

Namespace

Drupal\easy_email\Event

Code

public function getEmail() : EasyEmailInterface {
  return $this->email;
}