You are here

public function Changes::filter in Replication 8.2

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

Set the ID of the filter plugin to use to refine the changeset.

Parameters

string $filter: The plugin id of a Drupal\replication\Plugin\ReplicationFilterInterface.

Return value

\Drupal\replication\Changes\ChangesInterface Returns $this.

Overrides ChangesInterface::filter

File

src/Changes/Changes.php, line 100

Class

Changes

Namespace

Drupal\replication\Changes

Code

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