function CommentStorageInterface::getMaxThread

Same name in other branches
  1. 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getMaxThread()
  2. 10 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getMaxThread()
  3. 11.x core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getMaxThread()

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.

1 method overrides CommentStorageInterface::getMaxThread()
CommentStorage::getMaxThread in core/modules/comment/src/CommentStorage.php
Gets the maximum encoded thread value for the top level comments.

File

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

Class

CommentStorageInterface
Defines an interface for comment entity storage classes.

Namespace

Drupal\comment

Code

public function getMaxThread(CommentInterface $comment);

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.