You are here

public function PushParams::setParam in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/PushParams.php \Drupal\salesforce_mapping\PushParams::setParam()
  2. 5.0.x modules/salesforce_mapping/src/PushParams.php \Drupal\salesforce_mapping\PushParams::setParam()

Set a param.

Parameters

string $key: Key to set for this param.

mixed $value: Value to set for this param.

Return value

$this

File

modules/salesforce_mapping/src/PushParams.php, line 114

Class

PushParams
Wrapper for the array of values which will be pushed to Salesforce.

Namespace

Drupal\salesforce_mapping

Code

public function setParam($key, $value) {
  $this->params[$key] = $value;
  return $this;
}