You are here

public function SalesforceMappingInterface::getKeyValue in Salesforce Suite 8.3

Same name and namespace in other branches
  1. 8.4 modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getKeyValue()
  2. 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getKeyValue()

Given a Drupal entity, get the value to be upserted.

Return value

mixed The upsert field value.

1 method overrides SalesforceMappingInterface::getKeyValue()
SalesforceMapping::getKeyValue in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Given a Drupal entity, get the value to be upserted.

File

modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php, line 160

Class

SalesforceMappingInterface
Mapping between Drupal and Salesforce records.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getKeyValue(EntityInterface $entity);