function comment_uri
7.x comment.module | comment_uri($comment) |
Implements callback_entity_info_uri().
1 string reference to 'comment_uri'
- comment_entity_info in drupal-7.x/
modules/ comment/ comment.module - Implements hook_entity_info().
File
- drupal-7.x/
modules/ comment/ comment.module, line 157 - Enables users to comment on published content.
Code
function comment_uri($comment) {
return array(
'path' => 'comment/' . $comment->cid,
'options' => array('fragment' => 'comment-' . $comment->cid),
);
}