function comment_confirm_delete
Same name and namespace in other branches
- 7.x drupal-7.x/modules/comment/comment.admin.inc \comment_confirm_delete()
Form builder; Builds the confirmation form for deleting a single comment.
See also
comment_confirm_delete_submit()
Related topics
1 string reference to 'comment_confirm_delete'
- comment_delete in drupal-6.x/
modules/ comment/ comment.admin.inc - Menu callback; delete a comment.
Archivo
- drupal-6.x/
modules/ comment/ comment.admin.inc, line 238 - Admin page callbacks for the comment module.
Código
function comment_confirm_delete(&$form_state, $comment) {
$form = array();
$form['#comment'] = $comment;
return confirm_form($form, t('Are you sure you want to delete the comment %title?', 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');
}