form_test_wrapper_callback

  1. drupal
    1. 8
    2. 7
Versions
8 – 7 form_test_wrapper_callback($form_id)

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

Code

modules/simpletest/tests/form_test.module, line 750

<?php
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);
}
?>