public function RoleSettingsForm::__construct in Drupal 10
Same name and namespace in other branches
- 9 core/modules/user/src/Form/RoleSettingsForm.php \Drupal\user\Form\RoleSettingsForm::__construct()
Constructs a \Drupal\user\Form\RoleSettingsForm object.
Parameters
\Drupal\user\RoleStorageInterface $role_storage: The role storage.
File
- core/
modules/ user/ src/ Form/ RoleSettingsForm.php, line 29
Class
- RoleSettingsForm
- Configure administrator role settings for this site.
Namespace
Drupal\user\FormCode
public function __construct(RoleStorageInterface $role_storage) {
$this->roleStorage = $role_storage;
}