You are here

public function SearchRow::render in Drupal 10

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

File

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

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,
  ];
}