node_revision_delete_confirm
- Versions
- 5
node_revision_delete_confirm($node)- 6
node_revision_delete_confirm($form_state, $node_revision)- 7
node_revision_delete_confirm($form, $form_state, $node_revision)
Code
modules/node/node.pages.inc, line 591
<?php
function node_revision_delete_confirm($form_state, $node_revision) {
$form['#node_revision'] = $node_revision;
return confirm_form($form, t('Are you sure you want to delete the revision from %revision-date?', array('%revision-date' => format_date($node_revision->revision_timestamp))), 'node/'. $node_revision->nid .'/revisions', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}
?>Login or register to post comments 