You are here

public function RoleDelegationAccessCheck::__construct in Role Delegation 8

The Role Delegation access check.

Parameters

\Drupal\role_delegation\PermissionGenerator $permission_generator: The role delegation service.

File

src/Access/RoleDelegationAccessCheck.php, line 28

Class

RoleDelegationAccessCheck
Checks access for displaying configuration edit user pages.

Namespace

Drupal\role_delegation\Access

Code

public function __construct(PermissionGenerator $permission_generator) {
  $this->permissionGenerator = $permission_generator;
}