function 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\DataCollector

Code

public function getViewsCount() {
    return count($this->data['views']);
}