You are here

public function InlineBlockDependencyCollector::__construct in Dependency Calculation 8

TextItemFieldDependencyCollector constructor.

Parameters

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

File

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

Class

InlineBlockDependencyCollector
Subscribes to layout builder dependency collection to extract inline block dependencies.

Namespace

Drupal\depcalc\EventSubscriber\LayoutBuilderComponentDepencyCollector

Code

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