UserPasswordResetForm::submitForm

public UserPasswordResetForm::submitForm(array &$form, FormStateInterface $form_state)

Form submission handler.

Parameters

array $form: An associative array containing the structure of the form.

\Drupal\Core\Form\FormStateInterface $form_state: The current state of the form.

Overrides FormInterface::submitForm

File

core/modules/user/src/Form/UserPasswordResetForm.php, line 67

Class

UserPasswordResetForm
Form controller for the user password forms.

Namespace

Drupal\user\Form

Code

1
2
3
4
public function submitForm(array &$form, FormStateInterface $form_state) {
  // This form works by submitting the hash and timestamp to the user.reset
  // route with a 'login' action.
}
doc_Drupal
2025-01-10 15:47:30
Comments
Leave a Comment

Please login to continue.