public function RestClient::getInstanceUrl in Salesforce Suite 8.3
Get the SF instance URL. Useful for linking to objects.
Return value
string|null The instance url.
Overrides RestClientInterface::getInstanceUrl
Deprecated
in 8.x-4.0 and does not have an exact analog, refer to \Drupal\salesforce\getInstanceUrl instead.
1 call to RestClient::getInstanceUrl()
- RestClient::apiCall in src/
Rest/ RestClient.php - Make a call to the Salesforce REST API.
File
- src/
Rest/ RestClient.php, line 440
Class
- RestClient
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function getInstanceUrl() {
return $this->state
->get('salesforce.instance_url');
}