You are here

public function EntityFormDisplayDependencyCollector::__construct in Dependency Calculation 8

EntityFormDisplayDependencyCollector constructor.

Parameters

\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.

File

src/EventSubscriber/DependencyCollector/EntityFormDisplayDependencyCollector.php, line 29

Class

EntityFormDisplayDependencyCollector
Subscribes to dependency collection to extract the entity form display.

Namespace

Drupal\depcalc\EventSubscriber\DependencyCollector

Code

public function __construct(EntityTypeManagerInterface $entity_type_manager) {
  $this->entityTypeManager = $entity_type_manager;
}