This module is altering the 'user profile form' and implementing hook_module_implements_alter() to force that alter to be the last one. We need a way to alter that afterwords.

CommentFileSizeAuthor
#3 2729007-3.patch523 bytesKhalid S

Comments

Khalid S created an issue. See original summary.

Khalid S’s picture

Title: Allow other module to alter the user profile form » Allow other modules to alter the user profile form
Khalid S’s picture

StatusFileSize
new523 bytes

Implement drupal_alter() to have the ability to alter further.

Khalid S’s picture

Ah, instead of hacking anything, we can just change the weight of our target module. Implement hook_update_N() in your target module and update the db.

db_update('system')
    ->fields(['weight' => 2])
    ->condition('name', 'YOUR_TARGET_MODULE')
    ->execute();

Your target module = The module from where you want to alter the user_profile_form which will be executed after the alter of simple_pass_reset.

Khalid S’s picture

Status: Active » Fixed

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.