You are here

public function SupportTicketAddAccessCheck::__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/SupportTicketAddAccessCheck.php, line 36
Contains \Drupal\support_ticket\Access\SupportTicketAddAccessCheck.

Class

SupportTicketAddAccessCheck
Determines access to for support_ticket add pages.

Namespace

Drupal\support_ticket\Access

Code

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