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