public function TwitterAuthLoginNoticeForm::submitForm in Open Social 8.8
Same name and namespace in other branches
- 8.9 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.2 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.3 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.4 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.5 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.6 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::submitForm()
- 8.7 modules/custom/social_auth_twitter/src/Form/TwitterAuthLoginNoticeForm.php \Drupal\social_auth_twitter\Form\TwitterAuthLoginNoticeForm::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_twitter/ src/ Form/ TwitterAuthLoginNoticeForm.php, line 56
Class
- TwitterAuthLoginNoticeForm
- Class TwitterAuthLoginNoticeForm.
Namespace
Drupal\social_auth_twitter\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
$form_state
->setRedirect('social_auth_twitter.user_register');
}