function export_node_check in Node export 5.2
Same name and namespace in other branches
- 6 export.pages.inc \export_node_check()
Menu callback: prompt the user to confirm the operation
1 call to export_node_check()
- export_node_import in ./
export.pages.inc - Import Node UI
File
- ./
export.pages.inc, line 199
Code
function export_node_check($node) {
$method = variable_get('export_method', 'prepopulate');
switch ($method) {
case 'save-edit':
$new_nid = export_node_save($node);
drupal_goto('node/' . $new_nid . '/edit');
break;
case 'prepopulate':
default:
//include_once(drupal_get_path('module', 'node') .'/node.pages.inc');
return export_node_prepopulate($node);
break;
}
}