public UserPermissionsRoleSpecificForm::buildForm(array $form, FormStateInterface $form_state, RoleInterface $user_role = NULL)
Parameters
string $role_id: The user role ID used for this form.
Overrides UserPermissionsForm::buildForm
File
- core/modules/user/src/Form/UserPermissionsRoleSpecificForm.php, line 33
Class
- UserPermissionsRoleSpecificForm
- Provides the user permissions administration form for a specific role.
Namespace
Drupal\user\Form
Code
public function buildForm(array $form, FormStateInterface $form_state, RoleInterface $user_role = NULL) { $this->userRole = $user_role; return parent::buildForm($form, $form_state); }
Please login to continue.