function tools_admin_form_confirm_delete in Tools 7
File
- ./
tools.admin.inc, line 225
Code
function tools_admin_form_confirm_delete($form, &$form_state, $comment) {
$form['#comment'] = $comment;
// Always provide entity id in the same form key as in the entity edit form.
$form['cid'] = array(
'#type' => 'value',
'#value' => $comment->cid,
);
return confirm_form($form, t('Are you sure you want to delete all darwin core data?', array(
'%title' => $comment->subject,
)), 'node/' . $comment->nid, t('Any replies to this comment will be lost. This action cannot be undone.'), t('Delete'), t('Cancel'), 'comment_confirm_delete');
}