SearchNode::$rankings

Same name and namespace in other branches
  1. 11.x core/modules/search/modules/search_node/src/Plugin/Search/SearchNode.php \Drupal\search_node\Plugin\Search\SearchNode::rankings

An array of additional rankings from hook_node_search_ranking().

Type: array

File

core/modules/search/modules/search_node/src/Plugin/Search/SearchNode.php, line 46

Class

SearchNode
Handles searching for node entities using the Search module index.

Namespace

Drupal\search_node\Plugin\Search

Code

protected $rankings;

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.