You are here

public function SupportTicketPreviewAccessCheck::__construct in Support Ticketing System 8

Constructs a EntityCreateAccessCheck object.

Parameters

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

File

modules/support_ticket/src/Access/SupportTicketPreviewAccessCheck.php, line 35
Contains \Drupal\support_ticket\Access\SupportTicketPreviewAccessCheck.

Class

SupportTicketPreviewAccessCheck
Determines access to support_ticket previews.

Namespace

Drupal\support_ticket\Access

Code

public function __construct(EntityManagerInterface $entity_manager) {
  $this->entityManager = $entity_manager;
}