public function RestClientInterface::getObjectTypeName in Salesforce Suite 8.3
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getObjectTypeName()
- 5.0.x src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getObjectTypeName()
Utility function to determine object type for given SFID.
Parameters
\Drupal\salesforce\SFID $id: The SFID.
Return value
string The object type name.
Throws
\Exception If SFID doesn't match any object type.
1 method overrides RestClientInterface::getObjectTypeName()
- RestClient::getObjectTypeName in src/
Rest/ RestClient.php - Utility function to determine object type for given SFID.
File
- src/
Rest/ RestClientInterface.php, line 648
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function getObjectTypeName(SFID $id);