CommentStorageInterface

Defines an interface for comment entity storage classes.

Hierarchy

File

core/modules/comment/src/CommentStorageInterface.php, line 12

Namespace

Drupal\comment

Members

Name Modifiers Type Description
CommentStorageInterface::getChildCids public function Gets the comment ids of the passed comment entities' children.
CommentStorageInterface::getDisplayOrdinal public function Gets the display ordinal or page number for a comment.
CommentStorageInterface::getMaxThread public function Gets the maximum encoded thread value for the top level comments.
CommentStorageInterface::getMaxThreadPerThread public function Gets the maximum encoded thread value for the children of this comment.
CommentStorageInterface::getNewCommentPageNumber public function Calculates the page number for the first new comment.
CommentStorageInterface::getUnapprovedCount public function Returns the number of unapproved comments.
CommentStorageInterface::loadThread public function Retrieves comments for a thread, sorted in an order suitable for display.
ContentEntityStorageInterface::createTranslation public function Constructs a new entity translation object, without permanently saving it.
EntityStorageInterface::create public function Constructs a new entity object, without permanently saving it.
EntityStorageInterface::delete public function Deletes permanently saved entities.
EntityStorageInterface::deleteRevision public function Delete a specific entity revision.
EntityStorageInterface::FIELD_LOAD_CURRENT constant Load the most recent version of an entity's field data. Overrides EntityStorageInterface::FIELD_LOAD_CURRENT
EntityStorageInterface::FIELD_LOAD_REVISION constant Load the version of an entity's field data specified in the entity. Overrides EntityStorageInterface::FIELD_LOAD_REVISION
EntityStorageInterface::getAggregateQuery public function Gets an aggregated query instance.
EntityStorageInterface::getEntityType public function Gets the entity type definition.
EntityStorageInterface::getEntityTypeId public function Gets the entity type ID.
EntityStorageInterface::getQuery public function Gets an entity query instance.
EntityStorageInterface::load public function Loads one entity.
EntityStorageInterface::loadByProperties public function Load entities by their property values.
EntityStorageInterface::loadMultiple public function Loads one or more entities.
EntityStorageInterface::loadRevision public function Load a specific entity revision.
EntityStorageInterface::loadUnchanged public function Loads an unchanged entity from the database.
EntityStorageInterface::resetCache public function Resets the internal, static entity cache.
EntityStorageInterface::save public function Saves the entity permanently.
doc_Drupal
2016-10-29 08:51:02
Comments
Leave a Comment

Please login to continue.