function _revisioning_delete_submit in Revisioning 8
Same name and namespace in other branches
- 6.4 revisioning.pages.inc \_revisioning_delete_submit()
- 6.3 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 - Implements hook_form_alter().
File
- ./
revisioning.pages.inc, line 349 - 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';
}