function ViewsTestDataElementForm::submitForm

Same name and namespace in other branches
  1. 9 core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php \Drupal\views_test_data\Form\ViewsTestDataElementForm::submitForm()
  2. 8.9.x core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php \Drupal\views_test_data\Form\ViewsTestDataElementForm::submitForm()
  3. 10 core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php \Drupal\views_test_data\Form\ViewsTestDataElementForm::submitForm()

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

core/modules/views/tests/modules/views_test_data/src/Form/ViewsTestDataElementForm.php, line 42

Class

ViewsTestDataElementForm
Simple form page callback to test the view element.

Namespace

Drupal\views_test_data\Form

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.