Closed (won't fix)
Project:
Rules
Version:
6.x-1.x-dev
Component:
Rules Engine
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
20 Jul 2009 at 07:21 UTC
Updated:
20 Jul 2009 at 12:58 UTC
Add #module_name, so it's easier to extract dependencies of actions and conditions.
| Comment | File | Size | Author |
|---|---|---|---|
| rules_module_in_item-1.patch | 2.18 KB | amitaibu |
Comments
Comment #1
fagoYour patch adds #module_name only for the first item, I think?
Nevertheless I think it's better to that in a separate function. The API/module won't make use of #module_name and we have already #module, thus this becomes confusing. So best don't change that for rules 1.x, but do it for rules 2.x I think we should rename the current #module to #group and introduce proper dependency / requirement maintenance for the whole API. For rules 1.x we can do it like features does it for views:
-> Thus we could do something like that, that also works for all hook types like rules_gather_data() but keeping it separated.