public function ExposedFormPluginInterface::preRender in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginInterface.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginInterface::preRender()
- 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_formCode
public function preRender($values);