I have a simple one level deep vocabulary taxonomy. Something like Vocabulary->Term->Node. What I want to know is if there’s a built in function to get an array of nodes related to a single term, something like taxonomy_select_nodes() but that would return an array of nodes instead of a string.
I have a simple one level deep vocabulary taxonomy. Something like Vocabulary->Term->Node. What I
Share
AFAIK,
taxonomy_select_nodes()is the closest one available – and it does not return a string, but a query resource, so you could do what you want somewhat like so:The performance could get pretty bad for large numbers of nodes, though :/