function UserHooks::elementInfoAlter
Implements hook_element_info_alter().
File
-
core/
modules/ user/ src/ Hook/ UserHooks.php, line 339
Class
- UserHooks
- Hook implementations for user.
Namespace
Drupal\user\HookCode
public function elementInfoAlter(array &$types) {
if (isset($types['password_confirm'])) {
$types['password_confirm']['#process'][] = 'user_form_process_password_confirm';
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.