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
Namespace
Drupal\multiform_example\FormCode
public function submitForm(array &$form, FormStateInterface $form_state) {
drupal_set_message('Multiform Example 2 test Save.');
}