1 system.module system_form_user_profile_form_alter(&$form, &$form_state)

Implements hook_form_FORM_ID_alter().

File

core/modules/system/system.module, line 2330
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;
}