I'm using actions_do() to fire an action, but I need a way to get the current node and user info through the action. I see that actions_do() allows for some other parameters, but I haven't found how to send through exactly what I need. I assume the $context is what I'm looking for. Can anyone provide a little more info on using this function?

Thanks!

Comments

jvandyk’s picture

Right. In the HEAD version of actions for 5.x, $context is available to actions as the second parameter. So you can stash stuff in there if you want.

nath’s picture

So this is fixed?

pomliane’s picture

Status: Active » Closed (won't fix)

This version of Actions is not supported anymore. The issue is closed for this reason.
Please upgrade to a supported version and feel free to reopen the issue on the new version if applicable.

This issue has been automagically closed by a script.