You are here

public function None::postExecute in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::postExecute()
  2. 9 core/modules/views/src/Plugin/views/pager/None.php \Drupal\views\Plugin\views\pager\None::postExecute()

Perform any needed actions just after the query executing.

Overrides PagerPluginBase::postExecute

File

core/modules/views/src/Plugin/views/pager/None.php, line 77

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

public function postExecute(&$result) {
  $this->total_items = count($result);
}