function node_revision_delete_confirm in Drupal 6
Same name and namespace in other branches
- 5 modules/node/node.module \node_revision_delete_confirm()
- 7 modules/node/node.pages.inc \node_revision_delete_confirm()
1 string reference to 'node_revision_delete_confirm'
- node_menu in modules/
node/ node.module - Implementation of hook_menu().
File
- modules/
node/ node.pages.inc, line 594 - Page callbacks for adding, editing, deleting, and revisions management for content.
Code
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'));
}