public function SalesforceMapping::getPullFieldsArray in Salesforce Suite 5.0.x
Same name and namespace in other branches
- 8.4 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getPullFieldsArray()
- 8.3 modules/salesforce_mapping/src/Entity/SalesforceMapping.php \Drupal\salesforce_mapping\Entity\SalesforceMapping::getPullFieldsArray()
Get a flat array of the field plugins which are configured to pull.
Return value
array Keys and values are Salesforce field names.
Overrides SalesforceMappingInterface::getPullFieldsArray
1 call to SalesforceMapping::getPullFieldsArray()
- SalesforceMapping::getPullQuery in modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php - Generate a select query to pull records from Salesforce for this mapping.
File
- modules/
salesforce_mapping/ src/ Entity/ SalesforceMapping.php, line 418
Class
- SalesforceMapping
- Defines a Salesforce Mapping configuration entity class.
Namespace
Drupal\salesforce_mapping\EntityCode
public function getPullFieldsArray() {
return array_column($this->field_mappings, 'salesforce_field', 'salesforce_field');
}