You are here

function revisioning_form_node_revision_delete_confirm_alter in Revisioning 6.4

Same name and namespace in other branches
  1. 8 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
  2. 6.3 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
  3. 7 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()

Implementation of hook_form_FORM_ID_alter(), see node.pages.inc/node_revision_delete_confirm()

We only add "pre" submit handler, because "post delete" event is already available via hook_nodeapi().

File

./revisioning.pages.inc, line 160
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');
}