function form_test_double_form

cis7 form_test.module form_test_double_form()
cle7 form_test.module form_test_double_form()
elmsmedia7 form_test.module form_test_double_form()
icor7 form_test.module form_test_double_form()
meedjum_blog7 form_test.module form_test_double_form()
mooc7 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 modules/simpletest/tests/form_test.module
Implements hook_menu().

File

modules/simpletest/tests/form_test.module, line 1928
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'),
  );
}
Error | ELMSLN API

Error

×

Error message

  • Warning: Cannot modify header information - headers already sent by (output started at /var/www/html/elmsln_community/api.elmsln.org/includes/common.inc:2791) in drupal_send_headers() (line 1499 of /var/www/html/elmsln_community/api.elmsln.org/includes/bootstrap.inc).
  • Error: Call to undefined function apc_delete() in DrupalAPCCache->clear() (line 289 of /var/www/html/elmsln_community/api.elmsln.org/sites/all/modules/apc/drupal_apc_cache.inc).
The website encountered an unexpected error. Please try again later.