function user_form_test_form_user_profile_form_alter

Implements hook_form_FORM_ID_alter().

File

modules/user/tests/user_form_test.module, line 69

Code

function user_form_test_form_user_profile_form_alter(&$form, &$form_state) {
    if (variable_get('user_form_test_user_profile_form_rebuild', FALSE)) {
        $form['#submit'][] = 'user_form_test_user_account_submit';
    }
}

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