You are here

function form_test_wrapper_callback_wrapper in Drupal 7

Form wrapper for form_test_wrapper_callback_form().

1 string reference to 'form_test_wrapper_callback_wrapper'
form_test_wrapper_callback in modules/simpletest/tests/form_test.module
Menu callback; Invokes a form builder function with a wrapper callback.

File

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

Code

function form_test_wrapper_callback_wrapper($form, &$form_state) {
  $form['wrapper'] = array(
    '#markup' => 'Form wrapper callback element output.',
  );
  return $form;
}