public function EasyEmailEvent::__construct in Easy Email 8
Same name and namespace in other branches
- 2.0.x src/Event/EasyEmailEvent.php \Drupal\easy_email\Event\EasyEmailEvent::__construct()
Constructs a new EasyEmailEvent.
Parameters
\Drupal\easy_email\Entity\EasyEmailInterface $email: The entity email
File
- src/
Event/ EasyEmailEvent.php, line 26
Class
- EasyEmailEvent
- Defines the Entity Email event.
Namespace
Drupal\easy_email\EventCode
public function __construct(EasyEmailInterface $email) {
$this->email = $email;
}