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