You are here

public function PushParams::getParam in Salesforce Suite 8.4

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

Get a param value for a given key.

Parameters

string $key: A param key.

Return value

mixed|null The given param value for $key, or NULL if $key is not set.

See also

hasParam()

File

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

Class

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

Namespace

Drupal\salesforce_mapping

Code

public function getParam($key) {
  return static::hasParam($key) ? $this->params[$key] : NULL;
}