You are here

public function DummyForm::submitForm in Button Field 8

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

src/Form/DummyForm.php, line 35
Contains Drupal\button_field\Form\DummyForm.

Class

DummyForm

Namespace

Drupal\button_field\Form

Code

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

  // TODO: This form shouldn't be submittable.
  return parent::submitForm($form, $form_state);
}