1 form_test.module | form_test_alter_form($form, &$form_state) |
Form builder for testing hook_form_alter() and hook_form_FORM_ID_alter().
File
- core/
modules/ simpletest/ tests/ form_test.module, line 347 - 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;
}