nid)) { $nid = $node->nid; } else { $nid = '*NEW*'; } if ($node->created) { // only save information about real nodes $node_clone = drupal_clone($node); $dfp_runtime['drupalforfirebug_nodes']['original'][$node->type][$nid] = $node_clone; } } /** * Implementation of hook_views_pre_query() */ function drupalforfirebug_preprocess_views_pre_view(&$view, &$display_id, &$args) { global $dfp_runtime; $view_clone = drupal_clone($view); $dfp_runtime['drupalforfirebug_views']['original'][$view->name] = $view_clone; }