Invoke a hook when a user starts or stops masquerading. This will allow other modules to perform necessary actions.

See attached patch file

masquerade_add_hooks.patch1.03 KBbenrj


deekayen’s picture

andypost’s picture

Version:7.x-1.0-rc4» 7.x-1.x-dev
Status:Closed (duplicate)» Needs review

This issue about introducing hooks and probably reactions for example with rules

deekayen’s picture

My bad. They are different hooks.

andypost’s picture

Status:Needs review» Needs work

@deekayen suppose for d8 we just need to define action (trigger is not more in core) and has a file when d8 branch of rules become ready

So let's fix this in D7 first

wjaspers’s picture

Not sure which direction to head, but #1458418: Add masquerade events API aims to do the same thing (and a little more).