function DatabaseDataCollector::getQueryCount
Return value
int
2 calls to DatabaseDataCollector::getQueryCount()
- DatabaseDataCollector::getColorCode in webprofiler/
src/ DataCollector/ DatabaseDataCollector.php - Returns a color based on the number of executed queries.
- DatabaseDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ DatabaseDataCollector.php - Returns the string used in vertical tab summary.
File
-
webprofiler/
src/ DataCollector/ DatabaseDataCollector.php, line 109
Class
- DatabaseDataCollector
- Class DatabaseDataCollector
Namespace
Drupal\webprofiler\DataCollectorCode
public function getQueryCount() {
return count($this->data['queries']);
}