public function StylePluginBase::preRender in Zircon Profile 8.0
Same name and namespace in other branches
- 8 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\styleCode
public function preRender($result) {
if (!empty($this->view->rowPlugin)) {
$this->view->rowPlugin
->preRender($result);
}
}