You are here

public function AutoEntityLabelPermisssionController::__construct in Automatic Entity Label 8

Constructs a new AutoEntityLabelPermisssionController instance.

Parameters

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

File

src/AutoEntityLabelPermisssionController.php, line 30

Class

AutoEntityLabelPermisssionController
Provides dynamic permissions of the auto_entitylabel module.

Namespace

Drupal\auto_entitylabel

Code

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