function form_test_double_form
7.x form_test.module | 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 drupal-7.x/
modules/ simpletest/ tests/ form_test.module - Implements hook_menu().
File
- drupal-7.x/
modules/ simpletest/ tests/ form_test.module, line 1836 - 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'),
);
}