public function FieldHandlerInterface::preRender in Drupal 10
Same name and namespace in other branches
- 8 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::preRender()
- 9 core/modules/views/src/Plugin/views/field/FieldHandlerInterface.php \Drupal\views\Plugin\views\field\FieldHandlerInterface::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.
3 methods override FieldHandlerInterface::preRender()
- Permissions::preRender in core/
modules/ user/ src/ Plugin/ views/ field/ Permissions.php - Runs before any fields are rendered.
- Roles::preRender in core/
modules/ user/ src/ Plugin/ views/ field/ Roles.php - Runs before any fields are rendered.
- TaxonomyIndexTid::preRender in core/
modules/ taxonomy/ src/ Plugin/ views/ field/ TaxonomyIndexTid.php - Runs before any fields are rendered.
File
- core/
modules/ views/ src/ Plugin/ views/ field/ FieldHandlerInterface.php, line 156
Class
- FieldHandlerInterface
- Base field handler that has no options and renders an unformatted field.
Namespace
Drupal\views\Plugin\views\fieldCode
public function preRender(&$values);