I'm still confused about the entity concept in Drupal 7.
I have a node type audio with an MP3 field. I'm able to use
EntityFieldQuery to find all the audio nodes, but I need the URL of the MP3, which is stored in the "file_managed" table, and I don't find a way to retrieve it.
This is what I have:
// Query audio nodes $query = new EntityFieldQuery(); $query->entityCondition('entity_type', 'node') ->entityCondition('bundle', 'audio') ->propertyCondition('status', 1); $result = $query->execute();
There is no URL in the
$result array. At least I can't find it there; I only get the fid.