1 comment.entity.inc public Comment::uri()

Implements EntityInterface::uri().

Overrides EntityInterface::uri

File

core/modules/comment/comment.entity.inc, line 114
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),
  );
}