public function RedirectForm::submitForm in Commerce Core 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
- tests/
modules/ commerce_test/ src/ Form/ RedirectForm.php, line 31
Class
- RedirectForm
- Redirects the user to drupal.org.
Namespace
Drupal\commerce_test\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}