user_element_info_alter

user_element_info_alter(array &$types)

Implements hook_element_info_alter().

File

core/modules/user/user.module, line 1227
Enables the user registration and login system.

Code

function user_element_info_alter(array &$types) {
  if (isset($types['password_confirm'])) {
    $types['password_confirm']['#process'][] = 'user_form_process_password_confirm';
  }
}
doc_Drupal
2016-10-29 09:53:14
Comments
Leave a Comment

Please login to continue.