public function SalesforceMappingInterface::getFieldMapping in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/SalesforceMappingInterface.php \Drupal\salesforce_mapping\Entity\SalesforceMappingInterface::getFieldMapping()
- 8.3 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 42
Class
- SalesforceMappingInterface
- Mapping between Drupal and Salesforce records.
Namespace
Drupal\salesforce_mapping\EntityCode
public function getFieldMapping(array $field);