You are here

public function EasyEmailRevisionDeleteForm::__construct in Easy Email 8

Same name and namespace in other branches
  1. 2.0.x src/Form/EasyEmailRevisionDeleteForm.php \Drupal\easy_email\Form\EasyEmailRevisionDeleteForm::__construct()

Constructs a new EasyEmailRevisionDeleteForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $entity_storage: The entity storage.

\Drupal\Core\Database\Connection $connection: The database connection.

File

src/Form/EasyEmailRevisionDeleteForm.php, line 49

Class

EasyEmailRevisionDeleteForm
Provides a form for deleting a Email revision.

Namespace

Drupal\easy_email\Form

Code

public function __construct(EntityStorageInterface $entity_storage, Connection $connection) {
  $this->EasyEmailStorage = $entity_storage;
  $this->connection = $connection;
}