[development] How to list fields and types

Fernando Correa da Conceição fernando at jaguaribe.net
Wed Jan 19 14:59:17 UTC 2011


I have a $node object, in this node there is some fields (Drupal 7). The 
module works on all contents type, so i do not know what fields the node 
have. I need to list all fields from a node and get the type of field.
Someone can show a example how to do this please?

Thanks.


More information about the development mailing list