You are here

function _form_test_disabled_elements_submit in Drupal 7

Return the form values via JSON.

File

modules/simpletest/tests/form_test.module, line 1538
Helper module for the form API tests.

Code

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