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 e-mail address.
Comment::$name public property The comment author's name.
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::$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::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::isNew public function Implements EntityInterface::isNew(). Overrides EntityInterface::isNew
Entity::save public function Implements EntityInterface::save(). Overrides EntityInterface::save
Entity::__construct public function Constructs a new entity object. Overrides EntityInterface::__construct