function form_test_alter_form

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

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;
}

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