function revisioning_revision_delete_confirm_pre_submit in Revisioning 6.4
Same name and namespace in other branches
- 8 revisioning.pages.inc \revisioning_revision_delete_confirm_pre_submit()
- 6.3 revisioning.pages.inc \revisioning_revision_delete_confirm_pre_submit()
- 7 revisioning.pages.inc \revisioning_revision_delete_confirm_pre_submit()
Submission "pre" handler for the node_revision_delete_confirm form.
Runs BEFORE the existing delete function in node.pages.inc
1 string reference to 'revisioning_revision_delete_confirm_pre_submit'
- revisioning_form_node_revision_delete_confirm_alter in ./
revisioning.pages.inc - Implementation of hook_form_FORM_ID_alter(), see node.pages.inc/node_revision_delete_confirm()
File
- ./
revisioning.pages.inc, line 169 - Rendering and altering of pages and forms used by Revisioning
Code
function revisioning_revision_delete_confirm_pre_submit($form, &$form_state) {
$node = $form['#node_revision'];
module_invoke_all('revisionapi', 'pre delete', $node);
}