You are here

public function ViewUI::endQueryCapture in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::endQueryCapture()

Add the list of queries run during render to buildinfo.

See also

ViewUI::startQueryCapture()

1 call to ViewUI::endQueryCapture()
ViewUI::renderPreview in core/modules/views_ui/src/ViewUI.php

File

core/modules/views_ui/src/ViewUI.php, line 540
Contains \Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function endQueryCapture() {
  $queries = Database::getLog('views');
  $this->additionalQueries = $queries;
}