1 form_test.module form_test_double_form()

Menu callback returns two instances of the same form.

File

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

Code

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