public function RestClientInterface::getRecordTypes in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getRecordTypes()
- 8.3 src/Rest/RestClientInterface.php \Drupal\salesforce\Rest\RestClientInterface::getRecordTypes()
Retrieve all record types for this org.
If $name is provided, retrieve record types for the given object type only.
Parameters
string $name: Object type name, e.g. Contact, Account, etc.
Return value
array|false If $name is given, a record type array indexed by developer name. Otherwise, an array of record type arrays, indexed by object type name. FALSE if no record types found.
1 method overrides RestClientInterface::getRecordTypes()
- RestClient::getRecordTypes in src/
Rest/ RestClient.php - Retrieve all record types for this org.
File
- src/
Rest/ RestClientInterface.php, line 379
Class
- RestClientInterface
- Objects, properties, and methods to communicate with the Salesforce REST API.
Namespace
Drupal\salesforce\RestCode
public function getRecordTypes($name = NULL);