You are here

function form_test_wrapper_callback in SimpleTest 7

Menu callback; Invokes a form builder function with a wrapper callback.

1 string reference to 'form_test_wrapper_callback'
form_test_menu in tests/form_test.module
Implement hook_menu().

File

tests/form_test.module, line 347
Helper module for the form API tests.

Code

function form_test_wrapper_callback($form_id) {
  $form_state = array(
    'args' => array(),
    'wrapper_callback' => 'form_test_wrapper_callback_wrapper',
  );
  return drupal_build_form($form_id, $form_state);
}