function user_element_info_alter in Drupal 8
Same name and namespace in other branches
- 9 core/modules/user/user.module \user_element_info_alter()
Implements hook_element_info_alter().
File
- core/
modules/ user/ user.module, line 1316 - 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';
}
}