You are here

public function UnitPermissions::__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_unit/src/UnitPermissions.php, line 35
Contains \Drupal\bat_unit\UnitPermissions.

Class

UnitPermissions

Namespace

Drupal\bat_unit

Code

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