You are here

function _form_test_checkbox_submit in Drupal 7

Return the form values via JSON.

1 string reference to '_form_test_checkbox_submit'
form_test_checkboxes_zero in modules/simpletest/tests/form_test.module

File

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

Code

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