You are here

public function ReplicatorManager::addReplicator in Workspace 8

Adds replication services.

Parameters

ReplicatorInterface $replicator: The service to make available for performing replication.

File

src/ReplicatorManager.php, line 81

Class

ReplicatorManager
Provides the Replicator manager.

Namespace

Drupal\workspace

Code

public function addReplicator(ReplicatorInterface $replicator) {
  $this->replicators[] = $replicator;
}