system_form_user_form_alter

system_form_user_form_alter(&$form, FormStateInterface $form_state)

Implements hook_form_FORM_ID_alter() for \Drupal\user\AccountForm.

File

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

Code

function system_form_user_form_alter(&$form, FormStateInterface $form_state) {
  if (\Drupal::config('system.date')->get('timezone.user.configurable')) {
    system_user_timezone($form, $form_state);
  }
}
doc_Drupal
2016-10-29 09:45:54
Comments
Leave a Comment

Please login to continue.