public function EntityDuplicateSubscriber::__construct in Entity API 8
Constructs a new EntityDuplicateSubscriber object.
Parameters
\Drupal\entity\BundleEntityDuplicatorInterface $bundle_entity_duplicator: The bundle entity duplicator.
File
- src/
EventSubscriber/ EntityDuplicateSubscriber.php, line 25
Class
Namespace
Drupal\entity\EventSubscriberCode
public function __construct(BundleEntityDuplicatorInterface $bundle_entity_duplicator) {
$this->bundleEntityDuplicator = $bundle_entity_duplicator;
}