You are here

function revisioning_form_node_revision_delete_confirm_alter in Revisioning 7

Same name and namespace in other branches
  1. 8 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
  2. 6.4 revisioning.pages.inc \revisioning_form_node_revision_delete_confirm_alter()
  3. 6.3 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 248
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');
}