function comment_ranking
Same name in other branches
- 7.x modules/comment/comment.module \comment_ranking()
- 9 core/modules/comment/comment.module \comment_ranking()
- 10 core/modules/comment/comment.module \comment_ranking()
- 11.x core/modules/comment/comment.module \comment_ranking()
Implements hook_ranking().
File
-
core/
modules/ comment/ comment.module, line 784
Code
function comment_ranking() {
return \Drupal::service('comment.statistics')->getRankingInfo();
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.