public function TestRestClient::objectUpdate in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Tests/TestRestClient.php \Drupal\salesforce\Tests\TestRestClient::objectUpdate()
- 8.3 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\TestsCode
public function objectUpdate($name, $id, array $params) {
// Object update does... NOTHING!
return NULL;
}