How do I find all nodetypes containing a particular field?
Suppose for example I have two nodetypes, “mybio” and “myresume”, and both nodetypes contain a field “myphoto”. Is there a function that takes the name of my field as input (“myphoto”) and returns the names of the nodetypes containing this field (“mybio” and “myresume”)?
I don’t think there is a function but looking at the database structure for CCK something like this would do the trick: