1.20.x system.module system_form_user_profile_form_alter(&$form, &$form_state)

Implements hook_form_FORM_ID_alter().

File

modules/system/system.module, line 2436
Configuration system that lets administrators modify the workings of the site.

Code

function system_form_user_profile_form_alter(&$form, &$form_state) {
  if (config_get('system.date', 'user_configurable_timezones')) {
    system_user_timezone($form, $form_state);
  }
  return $form;
}