You are here

function form_test_double_form in Drupal 7

Menu callback returns two instances of the same form.

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

File

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

Code

function form_test_double_form() {
  return array(
    'form1' => drupal_get_form('form_test_html_id'),
    'form2' => drupal_get_form('form_test_html_id'),
  );
}