protected function PlainText::renderRowGroup in Recipe 8.2
Renders a group of rows of the grouped view.
Parameters
array $rows: The result rows rendered in this group.
Return value
array The render array containing the single group theme output.
Overrides StylePluginBase::renderRowGroup
File
- src/
Plugin/ views/ style/ PlainText.php, line 99
Class
- PlainText
- Default style plugin to render recipes in plain text.
Namespace
Drupal\recipe\Plugin\views\styleCode
protected function renderRowGroup(array $rows = []) {
return [
'#theme' => $this
->themeFunctions(),
'#view' => $this->view,
'#options' => $this->options,
'#rows' => $rows,
];
}