You are here

public function EventSeriesAddAccessCheck::__construct in Booking and Availability Management Tools for Drupal 8

Constructs a EntityCreateAccessCheck object.

Parameters

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

File

modules/bat_event_series/src/Access/EventSeriesAddAccessCheck.php, line 34
Contains \Drupal\bat_event_series\Access\EventSeriesAddAccessCheck.

Class

EventSeriesAddAccessCheck
Determines access to for event add pages.

Namespace

Drupal\bat_event_series\Access

Code

public function __construct(EntityTypeManagerInterface $entity_manager) {
  $this->entityTypeManager = $entity_manager;
}