public function Score::render in Drupal 10
Same name and namespace in other branches
- 8 core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
- 9 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);
}
}