public function ReferenceFinder::__construct in Term reference change 8
ReferenceFinder constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entityTypeManager: The entity type manager service.
\Drupal\Core\Entity\EntityTypeBundleInfoInterface $entityTypeBundleInfo: The entity type bundle info service.
\Drupal\Core\Entity\EntityFieldManagerInterface $entityFieldManager: The entity field manager service.
File
- src/
ReferenceFinder.php, line 47
Class
- ReferenceFinder
- Finds entities referencing a term.
Namespace
Drupal\term_reference_changeCode
public function __construct(EntityTypeManagerInterface $entityTypeManager, EntityTypeBundleInfoInterface $entityTypeBundleInfo, EntityFieldManagerInterface $entityFieldManager) {
$this->entityTypeManager = $entityTypeManager;
$this->entityTypeBundleInfo = $entityTypeBundleInfo;
$this->entityFieldManager = $entityFieldManager;
}