You are here

public function DeleteMultiple::__construct in Support Ticketing System 8

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/support_ticket/src/Form/DeleteMultiple.php, line 52
Contains \Drupal\support_ticket\Form\DeleteMultiple.

Class

DeleteMultiple
Provides a support ticket deletion confirmation form.

Namespace

Drupal\support_ticket\Form

Code

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