1.20.x comment.entity.inc public Comment::id()

Implements EntityInterface::id().

Overrides EntityInterface::id

File

modules/comment/comment.entity.inc, line 94
Entity controller and class for comments.

Class

Comment
Defines the comment entity class.

Code

public function id() {
  return $this->cid;
}