public function MappedObject::client in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::client()
- 8.3 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::client()
Wrapper for salesforce.client service.
Return value
\Drupal\salesforce\Rest\RestClientInterface The service.
Overrides MappedObjectInterface::client
File
- modules/
salesforce_mapping/ src/ Entity/ MappedObject.php, line 346
Class
- MappedObject
- Defines a Salesforce Mapped Object entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
public function client() {
return \Drupal::service('salesforce.client');
}