Skip navigation
Help

comment_edit_page

7 comment.module comment_edit_page($comment)

Page callback for comment editing.

1 string reference to 'comment_edit_page'

File

drupal/modules/comment/comment.module, line 1790
Enables users to comment on published content.

Code

function comment_edit_page($comment) {
  drupal_set_title(t('Edit comment %comment', array('%comment' => $comment->subject)), PASS_THROUGH);
  $node = node_load($comment->nid);
  return drupal_get_form("comment_node_{$node->type}_form", $comment);
}