function _node_registration_event_nodes in Node registration 7
Returns all event node objects (for certrain node types).
1 call to _node_registration_event_nodes()
- node_registration_cron in ./
node_registration.module - Implements hook_cron().
File
- includes/
node_registration.api.inc, line 172 - Registration API functions.
Code
function _node_registration_event_nodes($types = array()) {
$types or $types = array_keys(_node_registration_node_types());
$nodes = node_load_multiple(FALSE, array(
'type' => (array) $types,
));
return $nodes;
}