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.
It would be handy to have a flag for generated users so hook_user_* hooks could do special operations on them. Simple patch just adds a 'devel_generate' = 1 flag on the user edit array during generation.
Comment | File | Size | Author |
---|---|---|---|
#2 | devel_generate.user_flag.patch | 580 bytes | duellj |
devel_generate.user_flag.patch | 577 bytes | duellj | |
Comments
Comment #1
moshe weitzman CreditAttribution: moshe weitzman commentedOK, but should be TRUE, not 1. That would match nodes.
Comment #2
duellj CreditAttribution: duellj commentedGood point, updated path to be TRUE instead of 1
Comment #3
duellj CreditAttribution: duellj commentedComment #4
moshe weitzman CreditAttribution: moshe weitzman commentedcommitted. thanks.