You are here

public function MerciLineItemRevisionDeleteForm::__construct in MERCI (Manage Equipment Reservations, Checkout and Inventory) 8.2

Constructs a new MerciLineItemRevisionDeleteForm.

Parameters

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

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

File

modules/merci_line_item/src/Form/MerciLineItemRevisionDeleteForm.php, line 49

Class

MerciLineItemRevisionDeleteForm
Provides a form for deleting a Merci Line Item revision.

Namespace

Drupal\merci_line_item\Form

Code

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