function ViewsHandlerInterface::postExecute

Same name and namespace in other branches
  1. 9 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::postExecute()
  2. 8.9.x core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::postExecute()
  3. 10 core/modules/views/src/Plugin/views/ViewsHandlerInterface.php \Drupal\views\Plugin\views\ViewsHandlerInterface::postExecute()

Run after the view is executed, before the result is cached.

This gives all the handlers some time to modify values. This is primarily used so that handlers that pull up secondary data can put it in the $values so that the raw data can be used externally.

1 method overrides ViewsHandlerInterface::postExecute()
HandlerBase::postExecute in core/modules/views/src/Plugin/views/HandlerBase.php
Run after the view is executed, before the result is cached.

File

core/modules/views/src/Plugin/views/ViewsHandlerInterface.php, line 108

Class

ViewsHandlerInterface
Provides an interface for all views handlers.

Namespace

Drupal\views\Plugin\views

Code

public function postExecute(&$values);

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