You are here

public function AutoEntityLabelPermissionController::__construct in Automatic Entity Label 8

Same name and namespace in other branches
  1. 8.3 src/AutoEntityLabelPermissionController.php \Drupal\auto_entitylabel\AutoEntityLabelPermissionController::__construct()
  2. 8.2 src/AutoEntityLabelPermissionController.php \Drupal\auto_entitylabel\AutoEntityLabelPermissionController::__construct()

Constructs a new AutoEntityLabelPermissionController instance.

Parameters

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

File

src/AutoEntityLabelPermissionController.php, line 30

Class

AutoEntityLabelPermissionController
Provides dynamic permissions of the auto_entitylabel module.

Namespace

Drupal\auto_entitylabel

Code

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