Invoke a hook when a user starts or stops masquerading. This will allow other modules to perform necessary actions.
See attached patch file
| Comment | File | Size | Author |
|---|---|---|---|
| masquerade_add_hooks.patch | 1.03 KB | benrj |
Invoke a hook when a user starts or stops masquerading. This will allow other modules to perform necessary actions.
See attached patch file
| Comment | File | Size | Author |
|---|---|---|---|
| masquerade_add_hooks.patch | 1.03 KB | benrj |
Comments
Comment #1
deekayen commented#1364574: Invoke logout & login hooks for compatibility with bakery
Comment #2
andypostThis issue about introducing hooks and probably reactions for example with rules
Comment #3
deekayen commentedMy bad. They are different hooks.
Comment #4
andypost@deekayen suppose for d8 we just need to define action (trigger is not more in core) and has a masquarade.rules.inc file when d8 branch of rules become ready
So let's fix this in D7 first
Comment #5
wjaspers commentedNot sure which direction to head, but #1458418: Add masquerade events API aims to do the same thing (and a little more).
Comment #6
ressaThanks for working on this. In an attempt to help the maintainers, I am going through some of the Drupal 7 issues, and closing them, since Drupal 7 is EOL.
Maintainers should grant credit for the great work to the relevant users, even if the patch did not get committed: https://www.drupal.org/docs/develop/issues/issue-procedures-and-etiquett....
Since Drupal 7 is EOL, we can probably close this issue, but feel free to re-open if this is still relevant, and we should consider adding this to the Drupal 11 version?