You are here

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

Constructs a DeleteMultiple form object.

Parameters

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The tempstore factory.

\Drupal\Core\Entity\EntityManagerInterface $manager: The entity manager.

File

modules/merci_line_item/src/Form/DeleteMultiple.php, line 47

Class

DeleteMultiple
Provides a node deletion confirmation form.

Namespace

Drupal\merci_line_item\Form

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory, EntityManagerInterface $manager) {
  $this->tempStoreFactory = $temp_store_factory;
  $this->storage = $manager
    ->getStorage('merci_line_item');
}