Problem/Motivation
Eliminate user_form_process_password_confirm() from user.module.
Steps to reproduce
Proposed resolution
Move user_form_process_password_confirm() to UserThemeHooks. Also colocate the element_info_alter hook implementation, so those related pieces of code come together.
Remaining tasks
User interface changes
Introduced terminology
API changes
Data model changes
Release notes snippet
Issue fork drupal-3582106
Show commands
Start within a Git clone of the project using the version control instructions.
Or, if you do not have SSH keys set up on git.drupalcode.org:
- 3582106-move-userformprocesspasswordconfirm-into
changes, plain diff MR !15269
Comments
Comment #3
znerol commentedComment #4
sivaji_ganesh_jojodae commentedThe MR looks fine to me.
Comment #5
nicxvan commentedI think this is ready.
Deprecation versions are correct.
Replacement is correct.
Element info alter does make sense in theme since it's documented in theme.api.php.
I wish there was a cleaner way to have helpers in hook classes, but most callbacks are in the hook class so it makes sense.
Comment #8
amateescu commentedCommitted and pushed 0923b693f15 to main and 11850806e44 to 11.x. Thanks!
Comment #11
amateescu commented