function system_form_user_profile_form_alter
system_form_user_profile_form_alter(&$form, &$form_state)
Implements hook_form_FORM_ID_alter().
File
- modules/system/system.module, line 1974
- Configuration system that lets administrators modify the workings of the site.
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; } }
© 2001–2016 by the original authors
Licensed under the GNU General Public License, version 2 and later.
Drupal is a registered trademark of Dries Buytaert.
https://api.drupal.org/api/drupal/modules!system!system.module/function/system_form_user_profile_form_alter/7.x