public function BlocksDataCollector::__construct in Devel 8.3
Same name and namespace in other branches
- 8 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::__construct()
- 8.2 webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::__construct()
- 4.x webprofiler/src/DataCollector/BlocksDataCollector.php \Drupal\webprofiler\DataCollector\BlocksDataCollector::__construct()
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager:
File
- webprofiler/
src/ DataCollector/ BlocksDataCollector.php, line 29
Class
- BlocksDataCollector
- Class BlocksDataCollector.
Namespace
Drupal\webprofiler\DataCollectorCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
$this->data['blocks']['loaded'] = [];
$this->data['blocks']['rendered'] = [];
}