Implements hook_form_FORM_ID_alter().
function system_form_user_profile_form_alter(&$form, &$form_state) { if (config('system.date') ->get('timezone.user.configurable')) { system_user_timezone($form, $form_state); } return $form; }