Closed (fixed)
Project:
Rules
Version:
7.x-2.0-rc2
Component:
Rules Core
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
24 Sep 2011 at 07:46 UTC
Updated:
28 May 2012 at 14:03 UTC
I have implemented hook_rules_file_info() so I can move the rules implementation in mymodule/includes folder. Previously this seemed to work, but now with 2.0-rc2 the actions provided by mymodule are no longer appear in the list. Is this even possible?
Comments
Comment #1
itangalo commentedDon't know the answer to this, so I'm forwarding this to fago.
Comment #2
fagoUnfortunately not. You can place the actual action implementations in any file specified by hook_rules_file_info() but the rules*info hooks have to reside in the module.rules.inc file located directly in your module's root folder - or directly in the module file. This is how module_invoke_all() handles it for us.
Comment #3
sgabe commentedThank you for your answer.
Comment #5
mitchell commentedUpdated component.
Comment #6
fago