You are here

public function DependencyFieldMapGenerator::__construct in Entity Reference Integrity 8

Construct a ReferenceFieldMapGenerator.

File

src/DependencyFieldMapGenerator.php, line 45

Class

DependencyFieldMapGenerator
Create a map of reference fields.

Namespace

Drupal\entity_reference_integrity

Code

public function __construct(EntityFieldManagerInterface $entityFieldManager, EntityTypeManagerInterface $entityTypeManager, $fieldType, $targetEntitySettingsKey) {
  $this->entityFieldManager = $entityFieldManager;
  $this->entityTypeManager = $entityTypeManager;
  $this->fieldType = $fieldType;
  $this->targetEntitySettingsKey = $targetEntitySettingsKey;
}