You are here

function nodeconnect_edit in Node Connect 7

Redirect to a edit form but pass the build_cache_id.

1 string reference to 'nodeconnect_edit'
nodeconnect_menu in ./nodeconnect.module
Implements hook_menu().

File

./nodeconnect.menu.inc, line 48
Handles all nodeconnect menu item page callbacks

Code

function nodeconnect_edit($cache_id) {
  $cache = cache_get($cache_id);
  drupal_goto("node/" . $cache->data['nid'] . "/edit", array(
    'query' => array(
      "build_cache_id" => $cache_id,
      "child" => TRUE,
    ),
  ));
  return $cache_id;
}