protected function SalesforceMapping::client in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::client()
- 8.3 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::client()
Salesforce API client service.
Return value
\Drupal\salesforce\Rest\RestClient The salesforce.client service.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 716
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
protected function client() {
return \Drupal::service('salesforce.client');
}