public function EasyEmailEvent::getEmail in Easy Email 8
Same name and namespace in other branches
- 2.0.x 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\EventCode
public function getEmail() : EasyEmailInterface {
return $this->email;
}