function SearchRow::render

Same name and namespace in other branches
  1. 9 core/modules/search/src/Plugin/views/row/SearchRow.php \Drupal\search\Plugin\views\row\SearchRow::render()
  2. 8.9.x core/modules/search/src/Plugin/views/row/SearchRow.php \Drupal\search\Plugin\views\row\SearchRow::render()
  3. 10 core/modules/search/src/Plugin/views/row/SearchRow.php \Drupal\search\Plugin\views\row\SearchRow::render()

Overrides RowPluginBase::render

File

core/modules/search/src/Plugin/views/row/SearchRow.php, line 45

Class

SearchRow
Row handler plugin for displaying search results.

Namespace

Drupal\search\Plugin\views\row

Code

public function render($row) {
    return [
        '#theme' => $this->themeFunctions(),
        '#view' => $this->view,
        '#options' => $this->options,
        '#row' => $row,
    ];
}

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