You are here

public function AutoEntityLabelPermissionController::__construct in Automatic Entity Label 8.3

Same name and namespace in other branches
  1. 8 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_type_manager: The entity type manager service.

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_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}