You are here

public function StylePluginBase::preRender in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views/src/Plugin/views/style/StylePluginBase.php \Drupal\views\Plugin\views\style\StylePluginBase::preRender()

Allow the style to do stuff before each row is rendered.

Parameters

$result: The full array of results from the query.

File

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

Class

StylePluginBase
Base class for views style plugins.

Namespace

Drupal\views\Plugin\views\style

Code

public function preRender($result) {
  if (!empty($this->view->rowPlugin)) {
    $this->view->rowPlugin
      ->preRender($result);
  }
}