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()

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.