function comment_edit_page

Page callback for comment editing.

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

File

modules/comment/comment.module, line 1831

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);
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.