function UserPasswordResetForm::submitForm
Same name in other branches
- 9 core/modules/user/src/Form/UserPasswordResetForm.php \Drupal\user\Form\UserPasswordResetForm::submitForm()
- 8.9.x core/modules/user/src/Form/UserPasswordResetForm.php \Drupal\user\Form\UserPasswordResetForm::submitForm()
- 10 core/modules/user/src/Form/UserPasswordResetForm.php \Drupal\user\Form\UserPasswordResetForm::submitForm()
Overrides FormInterface::submitForm
File
-
core/
modules/ user/ src/ Form/ UserPasswordResetForm.php, line 72
Class
- UserPasswordResetForm
- Form controller for the user password forms.
Namespace
Drupal\user\FormCode
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.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.