You are here

function _popup_nodereference_render_group in Popup 7

Same name and namespace in other branches
  1. 8 modules/popup_nodereference/includes/popup_nodereference.util.inc \_popup_nodereference_render_group()

File

modules/popup_nodereference/includes/popup_nodereference.util.inc, line 6

Code

function _popup_nodereference_render_group($nids, $attributes) {
  module_load_include('inc', 'popup', 'includes/popup.api');
  $rendered = '';
  foreach ($nids as $nid) {
    $node_attribs = $attributes;
    $node_attribs['node'] = $nid;
    $rendered .= _popup_node($node_attribs, 'body');
  }
  return $rendered;
}