I want to use Rules UI to define some action sets, but want to execute those actions programmatically from a custom module.
How to I execute the action by code and pass the needed arguments (just a node in this case).
Thanks!
|
I want to use Rules UI to define some action sets, but want to execute those actions programmatically from a custom module. How to I execute the action by code and pass the needed arguments (just a node in this case). Thanks! | |||
|
feedback
|
|
If you have set it up as a rules component, you can use Both a similar in that you pass first an name/id and the rest of the args is passed along, so something like
is properly how you need to do it. This again depends on how the rule/component is defined/configured. | |||||||||
feedback
|