[development] Making your data act like a field

Nancy Wichmann nan_wich at bellsouth.net
Wed Sep 16 17:06:44 UTC 2009

andrew morton wrote:

> All that hook_content_extra_fields() really does is tell CCK about
> other node data so that they can be reweighted using the UI. Views
> support is a whole different animal that's done through
> hook_views_data()... and thorough documentation would make a great
> book.

I already implement hook_views_data as best as I can decipher the existing
docs (yes, a friendlier book would be great).

It turns out that this does indeed make the data available at least to the
Node Export module, which is goodness. My final goal is an complete
import/export function for my node module. (Yes, I am looking at Import
Export API too.)

More information about the development mailing list