[development] Making your data act like a field

Ken Rickard agentrickard at gmail.com
Wed Sep 16 20:17:49 UTC 2009


Just a note: Table Wizard will export hook_views_data() for you now,
which is a huge win.

On Wed, Sep 16, 2009 at 1:06 PM, Nancy Wichmann <nan_wich at bellsouth.net> wrote:
> 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.)
>
>



-- 
Ken Rickard
agentrickard at gmail.com
http://ken.therickards.com


More information about the development mailing list