function SubmitDriven::submitForm

Same name in other branches
  1. 4.0.x modules/ajax_example/src/Form/SubmitDriven.php \Drupal\ajax_example\Form\SubmitDriven::submitForm()

Overrides FormInterface::submitForm

File

modules/ajax_example/src/Form/SubmitDriven.php, line 52

Class

SubmitDriven
Submit a form without a page reload.

Namespace

Drupal\ajax_example\Form

Code

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