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.

Comments

fago’s picture

Status: Active » Needs review
StatusFileSize
new3.91 KB

forgot to pass $component for the export hook.

fago’s picture

StatusFileSize
new4.51 KB

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

yhahn’s picture

Status: Needs review » Fixed

Thanks, committed to D7 here http://drupal.org/cvs?commit=428170 and backported to D6 here http://drupal.org/cvs?commit=428176

fago’s picture

awesome, thanks :)

Status: Fixed » Closed (fixed)

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