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