You are here

public function CommentStatisticsInterface::getRankingInfo in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 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

hook_ranking()

comment_ranking()

1 method overrides CommentStatisticsInterface::getRankingInfo()
CommentStatistics::getRankingInfo in core/modules/comment/src/CommentStatistics.php
Returns an array of ranking information for hook_ranking().

File

core/modules/comment/src/CommentStatisticsInterface.php, line 26
Contains \Drupal\comment\CommentStatisticsInterface.

Class

CommentStatisticsInterface
Provides an interface for storing and retrieving comment statistics.

Namespace

Drupal\comment

Code

public function getRankingInfo();