You are here

function form_test_alter_form in Drupal 7

Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().

2 string references to 'form_test_alter_form'
form_test_form_alter in modules/simpletest/tests/form_test.module
Implements hook_form_alter().
form_test_menu in modules/simpletest/tests/form_test.module
Implements hook_menu().

File

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

Code

function form_test_alter_form($form, &$form_state) {

  // Elements can be added as needed for future testing needs, but for now,
  // we're only testing alter hooks that do not require any elements added by
  // this function.
  return $form;
}