You are here

public function EmailVerifyCheckAllForm::submitForm in Email Verify 8.2

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/EmailVerifyCheckAllForm.php, line 84
Contains \Drupal\email_verify\Form\EmailVerifyCheckAllForm.

Class

EmailVerifyCheckAllForm

Namespace

Drupal\email_verify\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $this->manager
    ->checkAll();
  $form_state
    ->setRedirectUrl($this
    ->getCancelUrl());
}