function _revisioning_delete_submit in Revisioning 6.3
Same name and namespace in other branches
- 8 revisioning.pages.inc \_revisioning_delete_submit()
- 6.4 revisioning.pages.inc \_revisioning_delete_submit()
- 7 revisioning.pages.inc \_revisioning_delete_submit()
Handler for the 'Delete this revision' button on the edit form.
Redirect to node/%/revisions/%/delete as opposed to node/%/delete
1 string reference to '_revisioning_delete_submit'
- revisioning_form_alter in ./
revisioning.pages.inc - Implementation of hook_form_alter().
File
- ./
revisioning.pages.inc, line 311 - Rendering and altering of pages and forms used by Revisioning
Code
function _revisioning_delete_submit(&$form, &$form_state) {
$nid = $form['#node']->nid;
$vid = $form['#node']->vid;
$form_state['redirect'][0] = "node/{$nid}/revisions/{$vid}/delete";
}