public function 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 drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php

File

drupal/core/modules/views_ui/lib/Drupal/views_ui/ViewUI.php, line 501
Definition of Drupal\views_ui\ViewUI.

Class

ViewUI
Stores UI related temporary settings.

Namespace

Drupal\views_ui

Code

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