Allow the style to do stuff before each row is rendered.
Parameters
$result:
The full array of results from the query.
File
- drupal/core/modules/views/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);
}
}