node_ranking()
Implements hook_ranking().
File
core/modules/node/node.module, line 645 The core module that allows content to be submitted to the site.
Code
function node_ranking() {
// Create the ranking array and add the basic ranking options.
$ranking = array(
'relevance' => array(
'title' => t('Keyword relevance'),
// Average relevance values hover around 0.15
'score' => 'i.relevance',
),
'sticky' => array(
'title' => t('Content is st