function Score::render

Same name in other branches
  1. 9 core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
  2. 8.9.x core/modules/search/src/Plugin/views/field/Score.php \Drupal\search\Plugin\views\field\Score::render()
  3. 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\field

Code

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.