function FieldHandlerInterface::preRender

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

Runs before any fields are rendered.

This gives the handlers some time to set up before any handler has been rendered.

Parameters

\Drupal\views\ResultRow[] $values: An array of all ResultRow objects returned from the query.

1 method overrides FieldHandlerInterface::preRender()
FieldPluginBase::preRender in core/modules/views/src/Plugin/views/field/FieldPluginBase.php
Runs before any fields are rendered.

File

core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php, line 169

Class

FieldHandlerInterface
Base field handler that has no options and renders an unformatted field.

Namespace

Drupal\views\Plugin\views\field

Code

public function preRender(&$values);

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