Closed (fixed)
Project:
Features
Version:
7.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Unassigned
Reporter:
Created:
22 Sep 2010 at 16:01 UTC
Updated:
12 Oct 2010 at 08:50 UTC
Jump to comment: Most recent file
Working on the "exportable entity" integration for the entity API I need a way to implement features integration on top of other modules. Obviously I dislike using eval to register dynamic functions, so what about introducing a callback 'base' to avoid such hacks?
Patch attached.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | features_hook_7.patch | 4.51 KB | fago |
| #1 | features_hook_7.patch | 3.91 KB | fago |
| features_hook_7.patch | 3.77 KB | fago |
Comments
Comment #1
fagoforgot to pass $component for the export hook.
Comment #2
fagoIn the meanwhile I implemented the entity exportables integration based upon this patch, see #920396: integrate exportables with features.
During development I stumbled over a small issue with the patch, what the attached version fixes.
Comment #3
yhahn commentedThanks, committed to D7 here http://drupal.org/cvs?commit=428170 and backported to D6 here http://drupal.org/cvs?commit=428176
Comment #4
fagoawesome, thanks :)