public function SalesforceIdentityInterface::getUrl in Salesforce Suite 8.4
Same name and namespace in other branches
- 5.0.x src/Rest/SalesforceIdentityInterface.php \Drupal\salesforce\Rest\SalesforceIdentityInterface::getUrl()
Given API type and optional API version, return the API url.
Parameters
string $api_type: The api type, e.g. rest, partner, meta.
string $api_version: If given, replace {version} placeholder. Otherwise, return the raw URL.
Return value
string The API url.
1 method overrides SalesforceIdentityInterface::getUrl()
- SalesforceIdentity::getUrl in src/
Rest/ SalesforceIdentity.php - Given API type and optional API version, return the API url.
File
- src/
Rest/ SalesforceIdentityInterface.php, line 18
Class
Namespace
Drupal\salesforce\RestCode
public function getUrl($api_type, $api_version = NULL);