function UserPermissionsForm::__construct
Same name in other branches
- 8.9.x core/modules/user/src/Form/UserPermissionsForm.php \Drupal\user\Form\UserPermissionsForm::__construct()
- 10 core/modules/user/src/Form/UserPermissionsForm.php \Drupal\user\Form\UserPermissionsForm::__construct()
- 11.x core/modules/user/src/Form/UserPermissionsForm.php \Drupal\user\Form\UserPermissionsForm::__construct()
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.
1 call to UserPermissionsForm::__construct()
- EntityPermissionsForm::__construct in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Constructs a new EntityPermissionsForm.
1 method overrides UserPermissionsForm::__construct()
- EntityPermissionsForm::__construct in core/
modules/ user/ src/ Form/ EntityPermissionsForm.php - Constructs a new EntityPermissionsForm.
File
-
core/
modules/ user/ src/ Form/ UserPermissionsForm.php, line 50
Class
- UserPermissionsForm
- Provides the user permissions administration form.
Namespace
Drupal\user\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;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.