function ViewUI::startQueryCapture
Same name in other branches
- 9 core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::startQueryCapture()
- 8.9.x core/modules/views_ui/src/ViewUI.php \Drupal\views_ui\ViewUI::startQueryCapture()
- 11.x 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
1 call to ViewUI::startQueryCapture()
- ViewUI::renderPreview in core/
modules/ views_ui/ src/ ViewUI.php
File
-
core/
modules/ views_ui/ src/ ViewUI.php, line 514
Class
- ViewUI
- Stores UI related temporary settings.
Namespace
Drupal\views_uiCode
public function startQueryCapture() {
Database::startLog('views');
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.