public function RoutingDataCollector::getRoutesCount in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/RoutingDataCollector.php \Drupal\webprofiler\DataCollector\RoutingDataCollector::getRoutesCount()
- 8.2 webprofiler/src/DataCollector/RoutingDataCollector.php \Drupal\webprofiler\DataCollector\RoutingDataCollector::getRoutesCount()
- 4.x webprofiler/src/DataCollector/RoutingDataCollector.php \Drupal\webprofiler\DataCollector\RoutingDataCollector::getRoutesCount()
Return value
int
1 call to RoutingDataCollector::getRoutesCount()
- RoutingDataCollector::getPanelSummary in webprofiler/
src/ DataCollector/ RoutingDataCollector.php - Returns the string used in vertical tab summary.
File
- webprofiler/
src/ DataCollector/ RoutingDataCollector.php, line 53
Class
- RoutingDataCollector
- Provides a data collector which shows all available routes.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getRoutesCount() {
return count($this
->routing());
}