public function DatabaseDataCollector::getQueryHighlightThreshold in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getQueryHighlightThreshold()
- 8.2 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getQueryHighlightThreshold()
- 4.x webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getQueryHighlightThreshold()
Returns the configured query highlight threshold.
Return value
int
1 call to DatabaseDataCollector::getQueryHighlightThreshold()
- DatabaseDataCollector::getData in webprofiler/
src/ DataCollector/ DatabaseDataCollector.php
File
- webprofiler/
src/ DataCollector/ DatabaseDataCollector.php, line 156
Class
- DatabaseDataCollector
- Class DatabaseDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
public function getQueryHighlightThreshold() {
// When a profile is loaded from storage this object is deserialized and
// no constructor is called so we cannot use dependency injection.
return \Drupal::config('webprofiler.config')
->get('query_highlight');
}