You are here

public function Example1::submitForm in Multiple forms 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

multiform_example/src/Form/Example1.php, line 48
Contains \Drupal\multiform_example\Form\Example1.

Class

Example1

Namespace

Drupal\multiform_example\Form

Code

public function submitForm(array &$form, FormStateInterface $form_state) {
  drupal_set_message('Multiform Example 1 test Save.');
}