Defines the comment entity class.
Hierarchy
- class Entity extends \stdClass implements EntityInterface
- class Comment
Expanded class hierarchy of Comment
File
- core/
modules/ comment/ comment.entity.inc, line 10 - Entity controller and class for comments.
Members
Name | Modifiers | Type | Description |
---|---|---|---|
Comment:: |
public | property | The comment ID. |
Comment:: |
public | property | The comment author's home page address. |
Comment:: |
public | property | The comment language code. |
Comment:: |
public | property | The comment author's email address. |
Comment:: |
public | property | The comment author's name. |
Comment:: |
public | property | The ID of the node to which the comment is attached. |
Comment:: |
public | property | The comment type (bundle). |
Comment:: |
public | property | The parent comment ID if this is a reply to a comment. |
Comment:: |
public | property | The comment title. |
Comment:: |
public | property | A list of comment IDs that make up the parents of this comment. |
Comment:: |
public | property | The comment author ID. |
Comment:: |
public | function |
Overrides Entity::access(). Overrides Entity:: |
Comment:: |
public | function |
Implements EntityInterface::bundle(). Overrides Entity:: |
Comment:: |
public static | function |
Overrides Entity::createAccess(). Overrides Entity:: |
Comment:: |
public | function |
Implements EntityInterface::entityType(). Overrides EntityInterface:: |
Comment:: |
public | function |
Implements EntityInterface::id(). Overrides EntityInterface:: |
Comment:: |
public | function |
Implements EntityInterface::label(). Overrides EntityInterface:: |
Comment:: |
public | function |
Implements EntityInterface::uri(). Overrides EntityInterface:: |
Entity:: |
public | property | Indicates whether this is the active revision. |
Entity:: |
public | function |
Implements EntityInterface::buildContent(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::createDuplicate(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::delete(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::getFieldValue(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::getFieldValues(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::getRevisionId(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::isActiveRevision(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::isNew(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::save(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements Backdrop\entity\EntityInterface::setActiveRevision(). Overrides EntityInterface:: |
Entity:: |
public | function |
Implements EntityInterface::view(). Overrides EntityInterface:: |
Entity:: |
public | function |
Constructs a new entity object. Overrides EntityInterface:: |