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