function UserPermissionsForm::__construct
Same name and namespace in other branches
- 11.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()
- 9 core/modules/user/src/Form/UserPermissionsForm.php \Drupal\user\Form\UserPermissionsForm::__construct()
- 8.9.x core/modules/user/src/Form/UserPermissionsForm.php \Drupal\user\Form\UserPermissionsForm::__construct()
Constructs a new UserPermissionsForm.
Parameters
\Drupal\user\PermissionHandlerInterface $permissionHandler: The permission handler.
\Drupal\user\RoleStorageInterface $roleStorage: The role storage.
\Drupal\Core\Extension\ModuleHandlerInterface $moduleHandler: The module handler.
\Drupal\Core\Extension\ModuleExtensionList $moduleExtensionList: The module extension list.
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 32
Class
- UserPermissionsForm
- Provides the user permissions administration form.
Namespace
Drupal\user\FormCode
public function __construct(protected PermissionHandlerInterface $permissionHandler, protected RoleStorageInterface $roleStorage, protected ModuleHandlerInterface $moduleHandler, protected ModuleExtensionList $moduleExtensionList) {
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.