public function BookingPermissions::__construct in Booking and Availability Management Tools for Drupal 8
Constructs a new FilterPermissions instance.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.
File
- modules/
bat_booking/ src/ BookingPermissions.php, line 35 - Contains \Drupal\bat_booking\BookingPermissions.
Class
Namespace
Drupal\bat_bookingCode
public function __construct(EntityTypeManagerInterface $entity_manager) {
$this->entityTypeManager = $entity_manager;
}