You are here

public function ViewUI::startQueryCapture in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::startQueryCapture()
  2. 10 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::startQueryCapture()

Set up query capturing.

\Drupal\Core\Database\Database stores the queries that it runs, if logging is enabled.

See also

ViewUI::endQueryCapture()

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

File

core/modules/views_ui/src/ViewUI.php, line 503

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

public function startQueryCapture() {
  Database::startLog('views');
}