Security update for Core, with self-updated composer
[yaffs-website] / web / core / modules / user / src / Form / UserPermissionsRoleSpecificForm.php
index 4281a44b97b71f4699e10ee4a008f206da14f231..b8caf7bbf47ab0e7f73479f3ac689010567df58c 100644 (file)
@@ -25,10 +25,14 @@ class UserPermissionsRoleSpecificForm extends UserPermissionsForm {
   }
 
   /**
-   * {@inheritdoc}
+   * Builds the user permissions administration form for a specific role.
    *
-   * @param string $role_id
-   *   The user role ID used for this form.
+   * @param array $form
+   *   An associative array containing the structure of the form.
+   * @param \Drupal\Core\Form\FormStateInterface $form_state
+   *   The current state of the form.
+   * @param \Drupal\user\RoleInterface|null $user_role
+   *   (optional) The user role used for this form. Defaults to NULL.
    */
   public function buildForm(array $form, FormStateInterface $form_state, RoleInterface $user_role = NULL) {
     $this->userRole = $user_role;