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