You are here

public function ReplicatorManager::applies in Workspace 8

Determine if the replicator applies to the given workspaces.

Parameters

\Drupal\workspace\WorkspacePointerInterface $source: The workspace to replicate from.

\Drupal\workspace\WorkspacePointerInterface $target: The workspace to replicate to.

Return value

bool Returns true if this replicator applies.

Overrides ReplicatorInterface::applies

File

src/ReplicatorManager.php, line 71

Class

ReplicatorManager
Provides the Replicator manager.

Namespace

Drupal\workspace

Code

public function applies(WorkspacePointerInterface $source, WorkspacePointerInterface $target) {
  return TRUE;
}