[development] Get all node fields?

Nedjo Rogers nedjo at islandnet.com
Mon Sep 14 16:50:26 UTC 2009


Probably the closest we have in Drupal 6 would be calling
content_fields() and then adding what's returned by
hook_content_extra_fields() (see some explanation of this hook at
http://www.lullabot.com/articles/great-pretender-making-your-data-act-field).
The problem is lots of modules will have added user-editable fields but
not implemented this CCK hook.

Chris Johnson wrote:
> Can someone suggest a way to get get a list of user-editable* fields
> in a node of a given content type? 



More information about the development mailing list