You are here

public function MappedObject::getSalesforceRecord in Salesforce Suite 5.0.x

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::getSalesforceRecord()
  2. 8.3 modules/salesforce_mapping/src/Entity/MappedObject.php \Drupal\salesforce_mapping\Entity\MappedObject::getSalesforceRecord()

Get the mapped Salesforce record, only available during pull.

Return value

\Drupal\salesforce\SObject The SObject data, available only during pull.

Overrides MappedObjectInterface::getSalesforceRecord

File

modules/salesforce_mapping/src/Entity/MappedObject.php, line 499

Class

MappedObject
Defines a Salesforce Mapped Object entity class.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getSalesforceRecord() {
  return $this->sfObject;
}