You are here

public function SupportTicketPreviewConverter::__construct in Support Ticketing System 8

Same name in this branch
  1. 8 modules/support_ticket/src/ParamConverter/SupportTicketPreviewConverter.php \Drupal\support_ticket\ParamConverter\SupportTicketPreviewConverter::__construct()
  2. 8 modules/support_ticket/src/ProxyClass/ParamConverter/SupportTicketPreviewConverter.php \Drupal\support_ticket\ProxyClass\ParamConverter\SupportTicketPreviewConverter::__construct()

Constructs a new SupportTicketPreviewConverter.

Parameters

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

File

modules/support_ticket/src/ParamConverter/SupportTicketPreviewConverter.php, line 33
Contains \Drupal\support_ticket\ParamConverter\SupportTicketPreviewConverter.

Class

SupportTicketPreviewConverter
Provides upcasting for a support ticket entity in preview.

Namespace

Drupal\support_ticket\ParamConverter

Code

public function __construct(PrivateTempStoreFactory $temp_store_factory) {
  $this->tempStoreFactory = $temp_store_factory;
}