You are here

public function FieldPluginBase::preRender in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/field/FieldPluginBase.php \Drupal\views\Plugin\views\field\FieldPluginBase::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.

Overrides FieldHandlerInterface::preRender

3 calls to FieldPluginBase::preRender()
BulkForm::preRender in core/modules/views/src/Plugin/views/field/BulkForm.php
Runs before any fields are rendered.
EntityField::preRender in core/modules/views/src/Plugin/views/field/EntityField.php
Runs before any fields are rendered.
EntityLabel::preRender in core/modules/views/src/Plugin/views/field/EntityLabel.php
Runs before any fields are rendered.
10 methods override FieldPluginBase::preRender()
BulkForm::preRender in core/modules/views/src/Plugin/views/field/BulkForm.php
Runs before any fields are rendered.
ContextualLinks::preRender in core/modules/contextual/src/Plugin/views/field/ContextualLinks.php
Runs before any fields are rendered.
EntityField::preRender in core/modules/views/src/Plugin/views/field/EntityField.php
Runs before any fields are rendered.
EntityLabel::preRender in core/modules/views/src/Plugin/views/field/EntityLabel.php
Runs before any fields are rendered.
EntityLink::preRender in core/modules/comment/src/Plugin/views/field/EntityLink.php
Runs before any fields are rendered.

... See full list

File

core/modules/views/src/Plugin/views/field/FieldPluginBase.php, line 1119

Class

FieldPluginBase
Base class for views fields.

Namespace

Drupal\views\Plugin\views\field

Code

public function preRender(&$values) {
}