function CommentStatisticsInterface::getRankingInfo
Same name in other branches
- 9 core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::getRankingInfo()
- 8.9.x core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::getRankingInfo()
- 11.x core/modules/comment/src/CommentStatisticsInterface.php \Drupal\comment\CommentStatisticsInterface::getRankingInfo()
Returns an array of ranking information for hook_ranking().
Return value
array Array of ranking information as expected by hook_ranking().
See also
File
-
core/
modules/ comment/ src/ CommentStatisticsInterface.php, line 22
Class
- CommentStatisticsInterface
- Provides an interface for storing and retrieving comment statistics.
Namespace
Drupal\commentCode
public function getRankingInfo();
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.