function AjaxAddRemoveElements::submitForm
Required by FormBase.
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/
form_api_example/ src/ Form/ AjaxAddRemoveElements.php, line 183
Class
- AjaxAddRemoveElements
- Example ajax add remove buttons.
Namespace
Drupal\form_api_example\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
}