public function ViewsDataCollector::__construct in Devel 8.2
Same name and namespace in other branches
- 8.3 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::__construct()
- 8 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::__construct()
- 4.x webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::__construct()
Parameters
ViewExecutableFactoryWrapper $view_executable_factory:
\Drupal\Core\Entity\EntityManagerInterface $entityManager:
File
- webprofiler/
src/ DataCollector/ ViewsDataCollector.php, line 35
Class
- ViewsDataCollector
- Collects data about rendered views.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(ViewExecutableFactoryWrapper $view_executable_factory, EntityManagerInterface $entityManager) {
$this->entityManager = $entityManager;
$this->view_executable_factory = $view_executable_factory;
$this->data['views'] = [];
}