You are here

public function ReplicatorInterface::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.

2 methods override ReplicatorInterface::applies()
InternalReplicator::applies in src/InternalReplicator.php
Determine if the replicator applies to the given workspaces.
ReplicatorManager::applies in src/ReplicatorManager.php
Determine if the replicator applies to the given workspaces.

File

src/ReplicatorInterface.php, line 21

Class

ReplicatorInterface
Defines an interface for Replicator plugins.

Namespace

Drupal\workspace

Code

public function applies(WorkspacePointerInterface $source, WorkspacePointerInterface $target);