You are here

function None::execute_count_query in Views (for Drupal 7) 8.3

Execute the count query, which will be done just prior to the query itself being executed.

Overrides PagerPluginBase::execute_count_query

File

lib/Drupal/views/Plugin/views/pager/None.php, line 74
Definition of Drupal\views\Plugin\views\pager\None.

Class

None
Plugin for views without pagers.

Namespace

Drupal\views\Plugin\views\pager

Code

function execute_count_query(&$count_query) {

  // If we are displaying all items, never count. But we can update the count in post_execute.
}