You are here

public function FlippingBookPermissions::__construct in Flipping Book 8

Constructs a new FlippingBookPermissions instance.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The entity manager.

File

src/FlippingBookPermissions.php, line 31

Class

FlippingBookPermissions
Provides dynamic permissions of the flipping_book module.

Namespace

Drupal\flipping_book

Code

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