You are here

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

Same name and namespace in other branches
  1. 8 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\Event

Code

public function __construct(EasyEmailInterface $email) {
  $this->email = $email;
}