public function AdministrativeRoleCheck::__construct in Lightning Core 8
Same name and namespace in other branches
- 8.5 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
- 8.2 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
- 8.3 src/Access/AdministrativeRoleCheck.php \Drupal\lightning_core\Access\AdministrativeRoleCheck::__construct()
- 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
Namespace
Drupal\lightning_core\AccessCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}