UserPermissionsForm::__construct

public UserPermissionsForm::__construct(PermissionHandlerInterface $permission_handler, RoleStorageInterface $role_storage, ModuleHandlerInterface $module_handler)

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 $module_handler: The module handler.

File

core/modules/user/src/Form/UserPermissionsForm.php, line 48

Class

UserPermissionsForm
Provides the user permissions administration form.

Namespace

Drupal\user\Form

Code

public function __construct(PermissionHandlerInterface $permission_handler, RoleStorageInterface $role_storage, ModuleHandlerInterface $module_handler) {
  $this->permissionHandler = $permission_handler;
  $this->roleStorage = $role_storage;
  $this->moduleHandler = $module_handler;
}
doc_Drupal
2016-10-29 09:52:56
Comments
Leave a Comment

Please login to continue.