function _form_test_disabled_elements_submit

Return the form values via JSON.

File

modules/simpletest/tests/form_test.module, line 1538

Code

function _form_test_disabled_elements_submit($form, &$form_state) {
    drupal_json_output($form_state['values']);
    exit;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.