function Score::render
Same name in other branches
- 9 core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
- 10 core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
- 11.x core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
Overrides NumericField::render
File
-
core/
modules/ search/ src/ Plugin/ views/ field/ Score.php, line 40
Class
- Score
- Field handler for search score.
Namespace
Drupal\search\Plugin\views\fieldCode
public function render(ResultRow $values) {
// Only render if we exist.
if (isset($this->tableAlias)) {
return parent::render($values);
}
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.