function comment_ranking in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/comment/comment.module \comment_ranking()
Implements hook_ranking().
File
- core/
modules/ comment/ comment.module, line 754 - Enables users to comment on published content.
Code
function comment_ranking() {
return \Drupal::service('comment.statistics')
->getRankingInfo();
}