public function OrphanedCompositeEntitiesDeleteForm::__construct in Entity Reference Revisions 8
OrphanedCompositeEntitiesDeleteForm constructor.
Parameters
\Drupal\Core\Entity\EntityTypeManagerInterface $entity_manager: The EntityTypeManager service.
\Drupal\Core\Messenger\MessengerInterface $messenger: The messenger.
\Drupal\entity_reference_revisions\EntityReferenceRevisionsOrphanPurger $purger: The entity reference revisions orphan purger.
File
- src/
Form/ OrphanedCompositeEntitiesDeleteForm.php, line 50
Class
- OrphanedCompositeEntitiesDeleteForm
- Class OrphanedCompositeEntitiesDeleteForm.
Namespace
Drupal\entity_reference_revisions\FormCode
public function __construct(EntityTypeManagerInterface $entity_manager, MessengerInterface $messenger, EntityReferenceRevisionsOrphanPurger $purger) {
$this->entityTypeManager = $entity_manager;
$this->messenger = $messenger;
$this->purger = $purger;
}