You are here

public function Changes::filter in Replication 8

Same name and namespace in other branches
  1. 8.2 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 107

Class

Changes

Namespace

Drupal\replication\Changes

Code

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