public function EntityViewDisplayDependencyCollector::__construct in Dependency Calculation 8
EntityViewDisplayDependencyCollector constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
File
- src/
EventSubscriber/ DependencyCollector/ EntityViewDisplayDependencyCollector.php, line 29
Class
- EntityViewDisplayDependencyCollector
- Subscribes to dependency collection to extract the entity view display.
Namespace
Drupal\depcalc\EventSubscriber\DependencyCollectorCode
public function __construct(EntityTypeManagerInterface $entity_type_manager) {
$this->entityTypeManager = $entity_type_manager;
}