You are here

public function Example2::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/Example2.php, line 50
Contains \Drupal\multiform_example\Form\Example2.

Class

Example2

Namespace

Drupal\multiform_example\Form

Code

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