function form_test_checkbox_type_juggling
1 string reference to 'form_test_checkbox_type_juggling'
- FormCheckboxTestCase::testFormCheckbox in modules/
simpletest/ tests/ form.test
File
-
modules/
simpletest/ tests/ form_test.module, line 1953
Code
function form_test_checkbox_type_juggling($form, $form_state, $default_value, $return_value) {
$form['checkbox'] = array(
'#type' => 'checkbox',
'#return_value' => $return_value,
'#default_value' => $default_value,
);
return $form;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.