You are here

public function SupportTicketRevisionDeleteForm::__construct in Support Ticketing System 8

Constructs a new SupportTicketRevisionDeleteForm.

Parameters

\Drupal\Core\Entity\EntityStorageInterface $support_ticket_storage: The support ticket storage.

\Drupal\Core\Entity\EntityStorageInterface $support_ticket_type_storage: The support ticket type storage.

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

File

modules/support_ticket/src/Form/SupportTicketRevisionDeleteForm.php, line 61
Contains \Drupal\support_ticket\Form\SupportTicketRevisionDeleteForm.

Class

SupportTicketRevisionDeleteForm
Provides a form for reverting a support ticket revision.

Namespace

Drupal\support_ticket\Form

Code

public function __construct(EntityStorageInterface $support_ticket_storage, EntityStorageInterface $support_ticket_type_storage, Connection $connection) {
  $this->supportTicketStorage = $support_ticket_storage;
  $this->supportTicketTypeStorage = $support_ticket_type_storage;
  $this->connection = $connection;
}