You are here

public function BundleEntityDuplicator::__construct in Entity API 8

Constructs a new BundleEntityDuplicator object.

Parameters

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

File

src/BundleEntityDuplicator.php, line 23

Class

BundleEntityDuplicator

Namespace

Drupal\entity

Code

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