You are here

public function StylePluginBase::render in Zircon Profile 8.0

Same name and namespace in other branches
  1. 8 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.

... See full list

File

core/modules/views/src/Plugin/views/style/StylePluginBase.php, line 450
Contains \Drupal\views\Plugin\views\style\StylePluginBase.

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

public 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);
}