You are here

public function SupportTicketForm::__construct in Support Ticketing System 8

Constructs a ContentEntityForm object.

Parameters

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

\Drupal\user\PrivateTempStoreFactory $temp_store_factory: The factory for the temp store object.

Overrides ContentEntityForm::__construct

File

modules/support_ticket/src/SupportTicketForm.php, line 42
Contains \Drupal\support_ticket\SupportTicketForm.

Class

SupportTicketForm
Form controller for the support ticket edit forms.

Namespace

Drupal\support_ticket

Code

public function __construct(EntityManagerInterface $entity_manager, PrivateTempStoreFactory $temp_store_factory) {
  parent::__construct($entity_manager);
  $this->tempStoreFactory = $temp_store_factory;
}