public function CacheDataCollector::getCacheCidsCount in Devel 8
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()
- 8.2 webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()
- 4.x webprofiler/src/DataCollector/CacheDataCollector.php \Drupal\webprofiler\DataCollector\CacheDataCollector::getCacheCidsCount()
Callback to return the total amount of requested cache CIDS.
Parameters
string $type:
Return value
int
3 calls to CacheDataCollector::getCacheCidsCount()
- CacheDataCollector::getCacheHitsCount in webprofiler/
src/ DataCollector/ CacheDataCollector.php - Callback to return the total amount of hit cache CIDS.
- CacheDataCollector::getCacheMissesCount in webprofiler/
src/ DataCollector/ CacheDataCollector.php - Callback to return the total amount of miss cache CIDS.
- CacheDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ CacheDataCollector.php - Returns the string used in vertical tab summary.
File
- webprofiler/
src/ DataCollector/ CacheDataCollector.php, line 83
Class
- CacheDataCollector
- Collects the used cache bins and cache CIDs.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getCacheCidsCount($type) {
return $this->data['total'][$type];
}