function RowPluginBase::preRender

Same name in other branches
  1. 8.9.x core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\RowPluginBase::preRender()
  2. 10 core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\RowPluginBase::preRender()
  3. 11.x core/modules/views/src/Plugin/views/row/RowPluginBase.php \Drupal\views\Plugin\views\row\RowPluginBase::preRender()

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

Parameters

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

2 calls to RowPluginBase::preRender()
EntityReference::preRender in core/modules/views/src/Plugin/views/row/EntityReference.php
Allow the style to do stuff before each row is rendered.
EntityRow::preRender in core/modules/views/src/Plugin/views/row/EntityRow.php
Allow the style to do stuff before each row is rendered.
4 methods override RowPluginBase::preRender()
EntityReference::preRender in core/modules/views/src/Plugin/views/row/EntityReference.php
Allow the style to do stuff before each row is rendered.
EntityRow::preRender in core/modules/views/src/Plugin/views/row/EntityRow.php
Allow the style to do stuff before each row is rendered.
Rss::preRender in core/modules/node/src/Plugin/views/row/Rss.php
Allow the style to do stuff before each row is rendered.
Rss::preRender in core/modules/comment/src/Plugin/views/row/Rss.php
Allow the style to do stuff before each row is rendered.

File

core/modules/views/src/Plugin/views/row/RowPluginBase.php, line 155

Class

RowPluginBase
Base class for Views row plugins.

Namespace

Drupal\views\Plugin\views\row

Code

public function preRender($result) {
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.