You are here

public function MassPasswordResetConfirmForm::submitForm in Mass Password Reset 8

Same name and namespace in other branches
  1. 2.x src/Form/MassPasswordResetConfirmForm.php \Drupal\mass_pwreset\Form\MassPasswordResetConfirmForm::submitForm()

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

src/Form/MassPasswordResetConfirmForm.php, line 86

Class

MassPasswordResetConfirmForm
Mass Password Reset Form.

Namespace

Drupal\mass_pwreset\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {

  // Initiate the batch process.
  mass_pwreset_multiple_reset($this->batchData);
}