function AjaxAddRemoveElements::validateForm

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

Required by FormBase.

Overrides FormBase::validateForm

File

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

Class

AjaxAddRemoveElements
Example ajax add remove buttons.

Namespace

Drupal\form_api_example\Form

Code

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