function CopyFieldValueTestForm::submitForm

Same name and namespace in other branches
  1. 11.x core/modules/system/tests/modules/system_test/src/Form/CopyFieldValueTestForm.php \Drupal\system_test\Form\CopyFieldValueTestForm::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/system/tests/modules/system_test/src/Form/CopyFieldValueTestForm.php, line 48

Class

CopyFieldValueTestForm
Provides a form to test Drupal.behaviors.copyFieldValue.

Namespace

Drupal\system_test\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  // We are only testing the JavaScript part of form. We are not submitting
  // form.
}

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