You are here

public function BlockContentDependencyCollector::__construct in Dependency Calculation 8

TextItemFieldDependencyCollector constructor.

Parameters

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

File

src/EventSubscriber/LayoutBuilderComponentDepencyCollector/BlockContentDependencyCollector.php, line 29

Class

BlockContentDependencyCollector
Subscribes to layout builder dependency collection to extract block content dependencies.

Namespace

Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector

Code

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