Skip navigation
Help

comment_uri

7 comment.module comment_uri($comment)

Entity uri callback.

1 string reference to 'comment_uri'

File

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

Code

function comment_uri($comment) {
  return array(
    'path' => 'comment/' . $comment->cid, 
    'options' => array('fragment' => 'comment-' . $comment->cid),
  );
}