You are here

protected function ViewExecutable::_postExecute in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::_postExecute()

Runs the postExecute() on all active handlers.

1 call to ViewExecutable::_postExecute()
ViewExecutable::execute in core/modules/views/src/ViewExecutable.php
Executes the view's query.

File

core/modules/views/src/ViewExecutable.php, line 1020

Class

ViewExecutable
Represents a view as a whole.

Namespace

Drupal\views

Code

protected function _postExecute() {
  foreach ($this::getHandlerTypes() as $key => $info) {
    $handlers =& $this->{$key};
    foreach ($handlers as $id => $handler) {
      $handlers[$id]
        ->postExecute($this->result);
    }
  }
}