You are here

public function FormModePermission::__construct in Form Mode Control 8.2

Same name and namespace in other branches
  1. 8 src/FormModePermission.php \Drupal\form_mode_control\FormModePermission::__construct()

Constructs a new FormModePermission instance.

Parameters

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

File

src/FormModePermission.php, line 46

Class

FormModePermission
Provides dynamic permissions for the form_mode_control module.

Namespace

Drupal\form_mode_control

Code

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