function revisioning_form_node_revision_delete_confirm_alter in Revisioning 8
Same name and namespace in other branches
- 6.4 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
- 6.3 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
- 7 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
Implements hook_form_FORM_ID_alter().
We only add "pre" submit handler, because "post delete" event is already available via hook_nodeapi().
See also
node_revision_delete_confirm()
File
- ./
revisioning.pages.inc, line 239 - Rendering and altering of pages and forms used by Revisioning.
Code
function revisioning_form_node_revision_delete_confirm_alter(&$form, &$form_state) {
array_unshift($form['#submit'], 'revisioning_revision_delete_confirm_pre_submit');
}