You are here

public function PushParams::unsetParam in Salesforce Suite 5.0.x

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

Unset a param value.

Parameters

string $key: Key to unset for this param.

Return value

$this

File

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

Class

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

Namespace

Drupal\salesforce_mapping

Code

public function unsetParam($key) {
  unset($this->params[$key]);
  return $this;
}