function _revisioning_delete_submit in Revisioning 7
Same name and namespace in other branches
- 8 revisioning.pages.inc \_revisioning_delete_submit()
- 6.4 revisioning.pages.inc \_revisioning_delete_submit()
- 6.3 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 - Implements hook_form_alter().
File
- ./
revisioning.pages.inc, line 357 - Rendering and altering of pages and forms used by Revisioning.
Code
function _revisioning_delete_submit(&$form, &$form_state) {
$form_state['redirect'][0] = 'node/' . $form['#node']->nid . '/revisions/' . $form['#node']->vid . '/delete';
}