function comment_edit_page
7.x comment.module | comment_edit_page($comment) |
Page callback for comment editing.
1 string reference to 'comment_edit_page'
- comment_menu in drupal-7.x/
modules/ comment/ comment.module - Implements hook_menu().
File
- drupal-7.x/
modules/ comment/ comment.module, line 1816 - 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);
}