public function EventManagementAccessCheck::__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_fullcalendar/ src/ Access/ EventManagementAccessCheck.php, line 32 - Contains \Drupal\bat_fullcalendar\Access\EventManagementAccessCheck.
Class
- EventManagementAccessCheck
- Determines access to for event add pages.
Namespace
Drupal\bat_fullcalendar\AccessCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}