ReplicateFieldSubscriber constructor.
Parameters
\Drupal\replicate\Replicator $replicator:
The replicator service.
File
- paragraphs/src/EventSubscriber/ReplicateFieldSubscriber.php, line 28
Class
- ReplicateFieldSubscriber
- Event subscriber that handles cloning through the Replicate module.
Namespace
Drupal\paragraphs\EventSubscriber
Code
public function __construct(Replicator $replicator) {
$this->replicator = $replicator;
}