public function ReplicationTask::setFilter in Replication 8.2
Same name and namespace in other branches
- 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
Namespace
Drupal\replication\ReplicationTaskCode
public function setFilter($filter = NULL) {
$this->filter = $filter;
return $this;
}