function ooe_form_demo_submit

7.x-1.x ooe.module ooe_form_demo_submit(array $form, array &$form_state)

Submit function adapted from form_example_tutorial_7().

Delegates to OoeBridge::form_demo_submit ($form, &$form_state), which uses a DemoOfForms project.

'Adds a submit handler/function to our form to send a successful completion message to the screen.'

Webel: this is only here to show the "old" Drupal way of doing it without an OOE IFormController.


array $form: Drupal form array.

array $form_state: Drupal form state array.


./ooe.module, line 424
An educational tutorial module that demonstrates an Object-Oriented bridge between Drupal7 core's contributed module API and a fully Object-Oriented space. OOE stands for Object-Oriented Examples.


function ooe_form_demo_submit(array $form, array &$form_state) {
  ooe()->form_demo_submit($form, $form_state);