You are here

public function MongodbCommentStorage::getMaxThread in MongoDB 8

Gets the maximum encoded thread value for the top level comments.

Parameters

\Drupal\comment\CommentInterface $comment: A comment entity.

Return value

string The maximum encoded thread value among the top level comments of the node $comment belongs to.

Overrides CommentStorageInterface::getMaxThread

File

mongodb_comment/src/MongodbCommentStorage.php, line 30
Contains \Drupal\mongodb_comment\MongodbCommentStorage.

Class

MongodbCommentStorage

Namespace

Drupal\mongodb_comment

Code

public function getMaxThread(CommentInterface $comment) {

  // TODO: Implement getMaxThread() method.
}