function taxonomy_revision_delete_confirm in Taxonomy revision 7
Form builder for a revision confirm for term deletion.
1 string reference to 'taxonomy_revision_delete_confirm'
- taxonomy_revision_menu in ./
taxonomy_revision.module - Implements hook_menu().
File
- ./
taxonomy_revision.pages.inc, line 53 - UI pages for revisions, similar with pages from node.pages.inc.
Code
function taxonomy_revision_delete_confirm($form, $form_state, $term_revision) {
$form['#term_revision'] = $term_revision;
return confirm_form($form, t('Are you sure you want to delete the revision from %revision-date?', array(
'%revision-date' => format_date($term_revision->timestamp),
)), 'taxonomy/term/' . $term_revision->tid . '/revisions', t('This action cannot be undone.'), t('Delete'), t('Cancel'));
}