Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. CommentStatisticsInterface.php

function 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()

File

core/modules/comment/src/CommentStatisticsInterface.php, line 22

Class

CommentStatisticsInterface
Provides an interface for storing and retrieving comment statistics.

Namespace

Drupal\comment

Code

public function getRankingInfo();

API Navigation

  • Drupal Core 11.1.x
  • Topics
  • Classes
  • Functions
  • Constants
  • Globals
  • Files
  • Namespaces
  • Deprecated
  • Services
RSS feed
Powered by Drupal