You are here

function StylePluginBase::pre_render in Views (for Drupal 7) 8.3

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

Parameters

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

File

lib/Drupal/views/Plugin/views/style/StylePluginBase.php, line 394
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 pre_render($result) {
  if (!empty($this->row_plugin)) {
    $this->row_plugin
      ->pre_render($result);
  }
}