function 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';
  }
}

© 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/core!modules!user!user.module/function/user_element_info_alter/8.1.x