You are here

public function FieldHandlerInterface::preRender in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::preRender()
  2. 10 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 156

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);