public function ExposedFormPluginBase::preRender in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase::preRender()
- 9 core/modules/views/src/Plugin/views/exposed_form/ExposedFormPluginBase.php \Drupal\views\Plugin\views\exposed_form\ExposedFormPluginBase::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.
Overrides ExposedFormPluginInterface::preRender
See also
\Drupal\views\ViewExecutable::render()
1 method overrides ExposedFormPluginBase::preRender()
- InputRequired::preRender in core/
modules/ views/ src/ Plugin/ views/ exposed_form/ InputRequired.php - Runs before the view is rendered.
File
- core/
modules/ views/ src/ Plugin/ views/ exposed_form/ ExposedFormPluginBase.php, line 179
Class
- ExposedFormPluginBase
- Base class for Views exposed filter form plugins.
Namespace
Drupal\views\Plugin\views\exposed_formCode
public function preRender($values) {
}