You are here

function form_test_wrapper_callback in Drupal 7

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

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

File

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

Code

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