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?


Itangalo’s picture

Assigned: Unassigned » fago

Don't know the answer to this, so I'm forwarding this to fago.

fago’s picture

Status: Active » Fixed

Unfortunately 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.

sgabe’s picture

Thank you for your answer.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.

mitchell’s picture

Component: Provided Rules integration » Rules Core

Updated component.

fago’s picture

Assigned: fago » Unassigned