public function CommentStorageInterface::getMaxThreadPerThread in Drupal 10
Same name and namespace in other branches
- 8 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getMaxThreadPerThread()
- 9 core/modules/comment/src/CommentStorageInterface.php \Drupal\comment\CommentStorageInterface::getMaxThreadPerThread()
Gets the maximum encoded thread value for the children of this comment.
Parameters
\Drupal\comment\CommentInterface $comment: A comment entity.
Return value
string|null The maximum encoded thread value among all replies of $comment. NULL is returned when the commented entity has no comments.
1 method overrides CommentStorageInterface::getMaxThreadPerThread()
- CommentStorage::getMaxThreadPerThread in core/
modules/ comment/ src/ CommentStorage.php - Gets the maximum encoded thread value for the children of this comment.
File
- core/
modules/ comment/ src/ CommentStorageInterface.php, line 37
Class
- CommentStorageInterface
- Defines an interface for comment entity storage classes.
Namespace
Drupal\commentCode
public function getMaxThreadPerThread(CommentInterface $comment);