function form_test_programmatic_form_submit
Form submit handler for programmatic form submissions.
To test that the submission handler is correctly executed, we store the submitted values in a place we can access from the caller context.
1 string reference to 'form_test_programmatic_form_submit'
- form_test_programmatic_form in modules/
simpletest/ tests/ form_test.module - Form builder to test programmatic form submissions.
File
-
modules/
simpletest/ tests/ form_test.module, line 1775
Code
function form_test_programmatic_form_submit($form, &$form_state) {
$form_state['storage']['programmatic_form_submit'] = $form_state['values'];
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.