Stack Exchange network consists of 175 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.
I have a module which performs a specific task. The task itself runs fine, though it also needs to be exectued when a specific rule is triggered. Is there a hook for rules which I can use in my module to check if a specific rule has been fired?
You can make that "specific task" as an action to a rule using hook_rules_action_info and add that action for the rules which you want to exectue.
Required, but never shown