function comment_edit_page

Page callback: Displays the comment editing form.

Parameters

Drupal\comment\Comment $comment: The comment object representing the comment to be edited.

See also

comment_menu()

1 string reference to 'comment_edit_page'
comment_menu in drupal/core/modules/comment/comment.module
Implements hook_menu().

File

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

Code

function comment_edit_page(Comment $comment) {
  drupal_set_title(t('Edit comment %comment', array(
    '%comment' => $comment->subject,
  )), PASS_THROUGH);
  return entity_get_form($comment);
}