You are here

public function ReplicationTask::setFilter in Replication 8.2

Same name and namespace in other branches
  1. 8 src/ReplicationTask/ReplicationTask.php \Drupal\replication\ReplicationTask\ReplicationTask::setFilter()

Set the ID of the filter plugin to use during replication.

Parameters

string $filter: The plugin ID of a ReplicationFilterInterface.

Return value

ReplicationTaskInterface Returns $this.

Overrides ReplicationTaskInterface::setFilter

File

src/ReplicationTask/ReplicationTask.php, line 78

Class

ReplicationTask

Namespace

Drupal\replication\ReplicationTask

Code

public function setFilter($filter = NULL) {
  $this->filter = $filter;
  return $this;
}