function nodeconnect_return in Node Connect 7
Redirects to the form page with the build_cache_id as a get param.
1 string reference to 'nodeconnect_return'
- nodeconnect_menu in ./
nodeconnect.module - Implements hook_menu().
File
- ./
nodeconnect.menu.inc, line 10 - Handles all nodeconnect menu item page callbacks
Code
function nodeconnect_return($cache_id) {
$cache = cache_get($cache_id);
$css_id = "edit-" . str_replace('_', '-', $cache->data['field']);
drupal_goto($cache->data['dest'], array(
'query' => array(
"build_cache_id" => $cache_id,
"return" => TRUE,
),
'fragment' => $css_id,
));
return $cache_id;
}