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\AccessCode
public function __construct(PermissionGenerator $permission_generator) {
$this->permissionGenerator = $permission_generator;
}