public function StylePluginBase::render in Drupal 8
Same name and namespace in other branches
- 9 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::render()
Render the display in this style.
1 call to StylePluginBase::render()
- EntityReference::render in core/
modules/ views/ src/ Plugin/ views/ style/ EntityReference.php - Render the display in this style.
7 methods override StylePluginBase::render()
- DefaultSummary::render in core/
modules/ views/ src/ Plugin/ views/ style/ DefaultSummary.php - Render the display in this style.
- EntityReference::render in core/
modules/ views/ src/ Plugin/ views/ style/ EntityReference.php - Render the display in this style.
- Mapping::render in core/
modules/ views/ src/ Plugin/ views/ style/ Mapping.php - Overrides Drupal\views\Plugin\views\style\StylePluginBase::render().
- Opml::render in core/
modules/ views/ src/ Plugin/ views/ style/ Opml.php - Render the display in this style.
- Rss::render in core/
modules/ views/ src/ Plugin/ views/ style/ Rss.php - Render the display in this style.
File
- core/
modules/ views/ src/ Plugin/ views/ style/ StylePluginBase.php, line 458
Class
- StylePluginBase
- Base class for views style plugins.
Namespace
Drupal\views\Plugin\views\styleCode
public function render() {
if ($this
->usesRowPlugin() && empty($this->view->rowPlugin)) {
trigger_error('Drupal\\views\\Plugin\\views\\style\\StylePluginBase: Missing row plugin', E_WARNING);
return [];
}
// Group the rows according to the grouping instructions, if specified.
$sets = $this
->renderGrouping($this->view->result, $this->options['grouping'], TRUE);
return $this
->renderGroupingSets($sets);
}