You are here

public function ReplicationTask::setParameters in Replication 8.2

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

Set the parameters for the filter plugin.

Parameters

array|NULL $parameters: An associative array of name-value parameters.

Return value

ReplicationTaskInterface Returns $this.

Overrides ReplicationTaskInterface::setParameters

1 call to ReplicationTask::setParameters()
ReplicationTask::setParameter in src/ReplicationTask/ReplicationTask.php
Set a parameter for the filter plugin.

File

src/ReplicationTask/ReplicationTask.php, line 93

Class

ReplicationTask

Namespace

Drupal\replication\ReplicationTask

Code

public function setParameters(array $parameters = NULL) {
  if ($parameters == NULL) {
    $parameters = [];
  }
  $this->parameters = $parameters;
  return $this;
}