function StylePluginBase::render in Views (for Drupal 7) 8.3
Render the display in this style.
4 methods override StylePluginBase::render()
- DefaultSummary::render in lib/
Drupal/ views/ Plugin/ views/ style/ DefaultSummary.php - Render the display in this style.
- Mapping::render in lib/
Drupal/ views/ Plugin/ views/ style/ Mapping.php - Overrides Drupal\views\Plugin\views\style\StylePluginBase::render().
- Rss::render in lib/
Drupal/ views/ Plugin/ views/ style/ Rss.php - Render the display in this style.
- StyleTest::render in tests/
views_test_data/ lib/ Drupal/ views_test_data/ Plugin/ views/ style/ StyleTest.php - Overrides Drupal\views\Plugin\views\style\StylePluginBase::render()
File
- lib/
Drupal/ views/ Plugin/ views/ style/ StylePluginBase.php, line 403 - Definition of Drupal\views\Plugin\views\style\StylePluginBase.
Class
- StylePluginBase
- Base class to define a style plugin handler.
Namespace
Drupal\views\Plugin\views\styleCode
function render() {
if ($this
->usesRowPlugin() && empty($this->row_plugin)) {
debug('Drupal\\views\\Plugin\\views\\style\\StylePluginBase: Missing row plugin');
return;
}
// Group the rows according to the grouping instructions, if specified.
$sets = $this
->render_grouping($this->view->result, $this->options['grouping'], TRUE);
return $this
->render_grouping_sets($sets);
}