function wysiwyg_test_ajax_form_callback in Wysiwyg 7.2
#ajax callback for wysiwyg_test_ajax_form().
1 string reference to 'wysiwyg_test_ajax_form_callback'
- wysiwyg_test_ajax_form in tests/
wysiwyg_test.module - Form constructor for an ajaxified form lazy-loading a textarea.
File
- tests/
wysiwyg_test.module, line 43 - Testing functionality for Wysiwyg module.
Code
function wysiwyg_test_ajax_form_callback($form, &$form_state) {
$form['body'] = array(
'#type' => 'text_format',
'#default_value' => '',
);
form_builder($form['form_id']['#value'], $form, $form_state);
return $form['body'];
}