public function ServicesDataCollector::getInitializedServicesWithoutWebprofiler in Devel 4.x
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ServicesDataCollector.php \Drupal\webprofiler\DataCollector\ServicesDataCollector::getInitializedServicesWithoutWebprofiler()
- 8 webprofiler/src/DataCollector/ServicesDataCollector.php \Drupal\webprofiler\DataCollector\ServicesDataCollector::getInitializedServicesWithoutWebprofiler()
- 8.2 webprofiler/src/DataCollector/ServicesDataCollector.php \Drupal\webprofiler\DataCollector\ServicesDataCollector::getInitializedServicesWithoutWebprofiler()
Return value
array
1 call to ServicesDataCollector::getInitializedServicesWithoutWebprofiler()
- ServicesDataCollector::getInitializedServicesWithoutWebprofilerCount in webprofiler/
src/ DataCollector/ ServicesDataCollector.php
File
- webprofiler/
src/ DataCollector/ ServicesDataCollector.php, line 91
Class
- ServicesDataCollector
- Class ServicesDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function getInitializedServicesWithoutWebprofiler() {
return array_filter($this
->getInitializedServices(), function ($item) {
return strpos($item['value']['id'], 'webprofiler') !== 0;
});
}