function form_test_user_register_form_rebuild
Same name in other branches
- 9 core/modules/system/tests/modules/form_test/form_test.module \form_test_user_register_form_rebuild()
- 8.9.x core/modules/system/tests/modules/form_test/form_test.module \form_test_user_register_form_rebuild()
- 10 core/modules/system/tests/modules/form_test/form_test.module \form_test_user_register_form_rebuild()
- 11.x core/modules/system/tests/modules/form_test/form_test.module \form_test_user_register_form_rebuild()
Submit callback that just lets the form rebuild.
1 string reference to 'form_test_user_register_form_rebuild'
- form_test_form_user_register_form_alter in modules/
simpletest/ tests/ form_test.module - Implements hook_form_FORM_ID_alter() for the registration form.
File
-
modules/
simpletest/ tests/ form_test.module, line 1913
Code
function form_test_user_register_form_rebuild($form, &$form_state) {
drupal_set_message('Form rebuilt.');
$form_state['rebuild'] = TRUE;
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.