function revision_scheduler_delete_form in Revision scheduler 7
1 string reference to 'revision_scheduler_delete_form'
- revision_scheduler_menu in ./
revision_scheduler.module - Implements hook_menu().
File
- ./
revision_scheduler.pages.inc, line 288
Code
function revision_scheduler_delete_form($form, &$form_state, $operation) {
$form['id'] = array(
'#type' => 'value',
'#value' => $operation->id,
);
$entity = revision_scheduler_entity_revision_load($operation->entity_type, $operation->entity_id, $operation->revision_id);
return confirm_form($form, 'Are you sure you want to cancel this scheduled revision?', entity_uri($operation->entity_type, $entity), NULL, NULL, t('No'));
}