function AjaxAddRemoveElements::submitForm

Same name in other branches
  1. 3.x modules/form_api_example/src/Form/AjaxAddRemoveElements.php \Drupal\form_api_example\Form\AjaxAddRemoveElements::submitForm()

Required by FormBase.

Overrides FormInterface::submitForm

File

modules/form_api_example/src/Form/AjaxAddRemoveElements.php, line 183

Class

AjaxAddRemoveElements
Example ajax add remove buttons.

Namespace

Drupal\form_api_example\Form

Code

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