Project:Actions
Version:5.x-2.x-dev
Component:Miscellaneous
Category:feature request
Priority:normal
Assigned:Unassigned
Status:active

Issue Summary

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

#1

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.

#2

So this is fixed?

nobody click here