Defines the comment entity class.

Hierarchy

Expanded class hierarchy of Comment

File

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

Members

Contains filters are case sensitive
Namesort descending Modifiers Type Description
Comment::$cid public property The comment ID.
Comment::$homepage public property The comment author's home page address.
Comment::$langcode public property The comment language code.
Comment::$mail public property The comment author's email address.
Comment::$name public property The comment author's name.
Comment::$nid public property The ID of the node to which the comment is attached.
Comment::$node_type public property The comment type (bundle).
Comment::$pid public property The parent comment ID if this is a reply to a comment.
Comment::$subject public property The comment title.
Comment::$thread public property A list of comment IDs that make up the parents of this comment.
Comment::$uid public property The comment author ID.
Comment::access public function Overrides Entity::access(). Overrides Entity::access
Comment::bundle public function Implements EntityInterface::bundle(). Overrides Entity::bundle
Comment::createAccess public static function Overrides Entity::createAccess(). Overrides Entity::createAccess
Comment::entityType public function Implements EntityInterface::entityType(). Overrides EntityInterface::entityType
Comment::id public function Implements EntityInterface::id(). Overrides EntityInterface::id
Comment::label public function Implements EntityInterface::label(). Overrides EntityInterface::label
Comment::uri public function Implements EntityInterface::uri(). Overrides EntityInterface::uri
Entity::$is_active_revision public property Indicates whether this is the active revision.
Entity::buildContent public function Implements EntityInterface::buildContent(). Overrides EntityInterface::buildContent
Entity::createDuplicate public function Implements EntityInterface::createDuplicate(). Overrides EntityInterface::createDuplicate
Entity::delete public function Implements EntityInterface::delete(). Overrides EntityInterface::delete
Entity::getFieldValue public function Implements EntityInterface::getFieldValue(). Overrides EntityInterface::getFieldValue
Entity::getFieldValues public function Implements EntityInterface::getFieldValues(). Overrides EntityInterface::getFieldValues
Entity::getRevisionId public function Implements Backdrop\entity\EntityInterface::getRevisionId(). Overrides EntityInterface::getRevisionId
Entity::isActiveRevision public function Implements Backdrop\entity\EntityInterface::isActiveRevision(). Overrides EntityInterface::isActiveRevision
Entity::isNew public function Implements EntityInterface::isNew(). Overrides EntityInterface::isNew
Entity::save public function Implements EntityInterface::save(). Overrides EntityInterface::save
Entity::setIsActiveRevision public function Implements Backdrop\entity\EntityInterface::setActiveRevision(). Overrides EntityInterface::setIsActiveRevision
Entity::view public function Implements EntityInterface::view(). Overrides EntityInterface::view
Entity::__construct public function Constructs a new entity object. Overrides EntityInterface::__construct