You are here

public function PetRevisionDeleteForm::__construct in Previewable email templates 8.3

Constructs a new PetRevisionDeleteForm.

Parameters

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

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

File

src/Form/PetRevisionDeleteForm.php, line 49

Class

PetRevisionDeleteForm
Provides a form for deleting a Pet revision.

Namespace

Drupal\pet\Form

Code

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