public function DatabaseDataCollector::getQueryCount in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getQueryCount()
- 8.2 webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\DatabaseDataCollector::getQueryCount()
- 4.x webprofiler/src/DataCollector/DatabaseDataCollector.php \Drupal\webprofiler\DataCollector\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 110
Class
- DatabaseDataCollector
- Class DatabaseDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getQueryCount() {
return count($this->data['queries']);
}