Needs work
Project:
Field Tool
Version:
6.x-1.0-alpha2
Component:
Code
Priority:
Normal
Category:
Task
Assigned:
Reporter:
Created:
3 Apr 2009 at 18:07 UTC
Updated:
15 Feb 2010 at 00:21 UTC
I just noticed that plugins/fieldtool/node_cck.inc handles getter/setter callback (relaying to the cck extraction/itemization callbacks for each single field item) but doesn't do import/export callbacks. Those should do the same thing as the above, just differently named (maybe "cck item export callback" and "cck item import callback"?) in order to support import/export for the whole field.
Bonus points for implementing cck import/export callbacks in the supported CCK field types too.
Comments
Comment #1
Matthew Davidson commentedThanks to our new generic callbacks (#644444: Generic callback functions), CCK field types now have import/export callbacks. These currently only call fieldtool_set() and fieldtool_get(), which isn't entirely satisfactory (#714422: Generic import/export callbacks need to call itemization/extraction callbacks), but it's a start. I might be inclined to call this good enough for beta3.