You are here

public function AdministrativeRoleCheck::__construct in Lightning Core 8

Same name and namespace in other branches
  1. 8.5 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
  2. 8.2 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
  3. 8.3 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
  4. 8.4 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()

AdministratorRoleAccessCheck constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/Access/AdministrativeRoleCheck.php, line 27

Class

AdministrativeRoleCheck

Namespace

Drupal\lightning_core\Access

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}