function ExposedFormPluginInterface::preRender

Same name in other branches
  1. 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preRender()
  2. 8.9.x core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preRender()
  3. 11.x 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);

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