You are here

public function TestRestClient::objectUpdate in Salesforce Suite 8.4

Same name and namespace in other branches
  1. 8.3 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::objectUpdate()
  2. 5.0.x src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::objectUpdate()

Update an existing object.

Parameters

string $name: Object type name, E.g., Contact, Account.

string $id: Salesforce id of the object.

array $params: Values of the fields to set for the object.

Return value

null Update() doesn't return any data. Examine HTTP response or Exception.

Overrides RestClient::objectUpdate

File

src/Tests/TestRestClient.php, line 145

Class

TestRestClient
Test Salesforce REST client.

Namespace

Drupal\salesforce\Tests

Code

public function objectUpdate($name, $id, array $params) {

  // Object update does... NOTHING!
  return NULL;
}