Description of the need
When some code is run in hook_user_presave()
, an easy way to bulk update user accounts would be to use the actions at the top of /admin/people/list
. However there's not currently an action to save the user account (to trigger this hook).
Proposed solution
Add an action that simply saves the user account(s), triggering the presave hook.
Alternatives that have been considered
An alternate solution is to use the 'Block user(s)' action. That triggers the presave hook, but then you need to unblock the users again. That triggers (by default) an email to be sent to users, and could be problematic if you'd prefer to have these changes made without triggering emails to be sent...
Draft of feature description for Press Release (1 paragraph at most)
Backdrop now includes a 'Save user(s)' action.
Recent comments
Tried and successfully applied DrAlbany's method with the form https://www.drupal.org/sandbox/grobot/2105379stickman hook. I also encountered the same situation. Thanks DrAlbany
Ubercart - Auto increment SKU
Since before migration you need to prepare the Drupal site - disabling and removing all modules, disabling themes, as part of the preparation you can clear the cache and logs, delete the search...
Trimming the size of my database for D2B_migrate not to error out (Request Entity Too Large / 504 Gateway Time-out)
QuickTabs is now available!!! But does not work as expected, already reported (https://github.com/backdrop-contrib/quicktabs/issues/14). Maybe an alternative solution using Views...
Quick Tabs (or method to simulate)