function 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');
}