public function ViewsDataCollector::__construct in Devel 4.x
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()
- 8.2 webprofiler/src/DataCollector/ViewsDataCollector.php \Drupal\webprofiler\DataCollector\ViewsDataCollector::__construct()
Parameters
\Drupal\webprofiler\Views\ViewExecutableFactoryWrapper $view_executable_factory:
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
File
- webprofiler/
src/ DataCollector/ ViewsDataCollector.php, line 34
Class
- ViewsDataCollector
- Collects data about rendered views.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(ViewExecutableFactoryWrapper $view_executable_factory, EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->view_executable_factory = $view_executable_factory;
$this->data['views'] = [];
}