public function ViewsDataCollector::getViewsCount in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::getViewsCount()
- 8 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::getViewsCount()
- 8.2 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::getViewsCount()
Return value
int
1 call to ViewsDataCollector::getViewsCount()
- ViewsDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ ViewsDataCollector.php - Returns the string used in vertical tab summary.
File
- webprofiler/
src/ DataCollector/ ViewsDataCollector.php, line 86
Class
- ViewsDataCollector
- Collects data about rendered views.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getViewsCount() {
return count($this->data['views']);
}