function ViewExecutable::_postExecute

Same name in other branches
  1. 9 core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::_postExecute()
  2. 8.9.x core/modules/views/src/ViewExecutable.php \Drupal\views\ViewExecutable::_postExecute()
  3. 11.x 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 1080

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);
        }
    }
}

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