function form_test_double_form

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

Code

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

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.