You are here

public function AuthLoginNoticeForm::submitForm in Open Social 8.6

Same name and namespace in other branches
  1. 8.9 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  2. 8 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  3. 8.2 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  4. 8.3 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  5. 8.4 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  6. 8.5 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  7. 8.7 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::submitForm()
  8. 8.8 modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php \Drupal\social_auth_extra\Form\AuthLoginNoticeForm::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

modules/custom/social_auth_extra/src/Form/AuthLoginNoticeForm.php, line 63

Class

AuthLoginNoticeForm
Class AuthLoginNoticeForm.

Namespace

Drupal\social_auth_extra\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect($this->socialNetwork['id'] . '.user_register');
}