function StylePluginBase::render

Render the display in this style.

1 call to StylePluginBase::render()
EntityReference::render in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php
Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::render().
6 methods override StylePluginBase::render()
DefaultSummary::render in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/DefaultSummary.php
Render the display in this style.
EntityReference::render in drupal/core/modules/entity_reference/lib/Drupal/entity_reference/Plugin/views/style/EntityReference.php
Overrides \Drupal\views\Plugin\views\style\StylePluginBase\StylePluginBase::render().
Mapping::render in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/Mapping.php
Overrides Drupal\views\Plugin\views\style\StylePluginBase::render().
Rss::render in drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/Rss.php
Render the display in this style.
Serializer::render in drupal/core/modules/rest/lib/Drupal/rest/Plugin/views/style/Serializer.php
Render the display in this style.

... See full list

File

drupal/core/modules/views/lib/Drupal/views/Plugin/views/style/StylePluginBase.php, line 428
Definition of Drupal\views\Plugin\views\style\StylePluginBase.

Class

StylePluginBase
Base class to define a style plugin handler.

Namespace

Drupal\views\Plugin\views\style

Code

function render() {
  if ($this
    ->usesRowPlugin() && empty($this->view->rowPlugin)) {
    debug('Drupal\\views\\Plugin\\views\\style\\StylePluginBase: Missing row plugin');
    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);
}