Is there a Drupal API function like node_load()
that will returnreturns a list of nodes by a given content type?
I've tried $nodes = node_load(array("type" => 'student_vote'))
, but it only returns one node.
I know I could code up something like node_load()
, but I wanted to see if there might be anything like that out there already.