You are here

public function SalesforceMappingInterface::getFieldMapping 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::getFieldMapping()
  2. 5.0.x modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getFieldMapping()

Given a field config, create an instance of a field mapping.

Parameters

array $field: Field plugin definition. Keys are "drupal_field_type" and "config".

Return value

\Drupal\salesforce_mapping\SalesforceMappingFieldPluginInterface The field.

1 method overrides SalesforceMappingInterface::getFieldMapping()
SalesforceMapping::getFieldMapping in modules/salesforce_mapping/src/Entity/SalesforceMapping.php
Given a field config, create an instance of a field mapping.

File

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

Class

SalesforceMappingInterface
Mapping between Drupal and Salesforce records.

Namespace

Drupal\salesforce_mapping\Entity

Code

public function getFieldMapping(array $field);