1 comment.module comment_edit_page($comment)

Page callback: Displays the comment editing form.

Parameters

$comment: The comment object representing the comment to be edited.

See also

comment_menu()

File

core/modules/comment/comment.module, line 1766
Enables users to comment on published content.

Code

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