public function LinkFieldCollector::__construct in Dependency Calculation 8
LinkFieldCollector constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_type_manager: The entity type manager.
\Drupal\Core\Extension\ModuleHandlerInterface $module_handler: Module handler service.
File
- src/
EventSubscriber/ DependencyCollector/ LinkFieldCollector.php, line 42
Class
- LinkFieldCollector
- Link Field Collector.
Namespace
Drupal\depcalc\EventSubscriber\DependencyCollectorCode
public function __construct(EntityTypeManagerInterface $entity_type_manager, ModuleHandlerInterface $module_handler) {
$this->entityTypeManager = $entity_type_manager;
$this->moduleHandler = $module_handler;
}