You are here

public function ExposedFormPluginInterface::preRender in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preRender()
  2. 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preRender()

Runs before the view is rendered.

Implement if your exposed form needs to run code before the view is rendered.

Parameters

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

See also

\Drupal\views\ViewExecutable::render()

1 method overrides ExposedFormPluginInterface::preRender()
ExposedFormPluginBase::preRender in core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php
Runs before the view is rendered.

File

core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php, line 73

Class

ExposedFormPluginInterface
Interface for exposed filter form plugins.

Namespace

Drupal\views\Plugin\views\exposed_form

Code

public function preRender($values);