function system_form_user_profile_form_alter

Implements hook_form_FORM_ID_alter().

File

modules/system/system.module, line 1999

Code

function system_form_user_profile_form_alter(&$form, &$form_state) {
    if ($form['#user_category'] == 'account') {
        if (variable_get('configurable_timezones', 1)) {
            system_user_timezone($form, $form_state);
        }
        return $form;
    }
}

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