Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
after the update of the module Password Reset Landing Page (PRLP) 8.x-1.6 the hooks that does the $form["#submit"][] stoped working.
I can see the debug goes inside the hook, but the function that was supposed to be registered "my_function" wont be called after submit.
The reason why was because this code was removed from core:
"$this->formBuilder()->buildForm(UserPasswordResetForm::class, $form_state);"
do you guys know if we are going to have a patch for this?
How to replicate, just hook on form submit and add your custon function on form["#submit"][].
thank you
Comments