public function SearchRow::render in Zircon Profile 8
Same name and namespace in other branches
- 8.0 core/modules/search/src/Plugin/views/row/SearchRow.php \Drupal\search\Plugin\views\row\SearchRow::render()
Render a row object. This usually passes through to a theme template of some form, but not always.
Parameters
object $row: A single row of the query result, so an element of $view->result.
Return value
string The rendered output of a single row, used by the style plugin.
Overrides RowPluginBase::render
File
- core/
modules/ search/ src/ Plugin/ views/ row/ SearchRow.php, line 49 - Contains \Drupal\search\Plugin\views\row\SearchRow.
Class
- SearchRow
- Row handler plugin for displaying search results.
Namespace
Drupal\search\Plugin\views\rowCode
public function render($row) {
return array(
'#theme' => $this
->themeFunctions(),
'#view' => $this->view,
'#options' => $this->options,
'#row' => $row,
);
}