function comment_uri
Implements callback_entity_info_uri().
1 string reference to 'comment_uri'
- comment_entity_info in modules/
comment/ comment.module - Implements hook_entity_info().
File
-
modules/
comment/ comment.module, line 157
Code
function comment_uri($comment) {
return array(
'path' => 'comment/' . $comment->cid,
'options' => array(
'fragment' => 'comment-' . $comment->cid,
),
);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.