1.20.x comment.entity.inc | public Comment::uri() |
Implements EntityInterface::uri().
Overrides EntityInterface::uri
File
- modules/
comment/ comment.entity.inc, line 122 - Entity controller and class for comments.
Class
- Comment
- Defines the comment entity class.
Code
public function uri() {
return array(
'path' => 'comment/' . $this->cid,
'options' => array('fragment' => 'comment-' . $this->cid),
);
}