public function PermissionsLockForm::__construct in Permissions Lock 8
Constructs a new UserPermissionsForm.
Parameters
\Drupal\user\PermissionHandlerInterface $permission_handler: The permission handler.
\Drupal\user\RoleStorageInterface $role_storage: The role storage.
\Drupal\Core\Extension\ModuleHandlerInterface: The module handler.
Overrides ConfigFormBase::__construct
File
- src/
Form/ PermissionsLockForm.php, line 45
Class
Namespace
Drupal\permissions_lock\FormCode
public function __construct(PermissionHandlerInterface $permission_handler, RoleStorageInterface $role_storage, ModuleHandlerInterface $module_handler) {
$this->permissionHandler = $permission_handler;
$this->roleStorage = $role_storage;
$this->moduleHandler = $module_handler;
}