You are here

function salesforce_mapping_related_entity_fieldmap_options in Salesforce Suite 7.3

Return all possible Drupal properties of type entity for a given entity type.

Parameters

string $entity_type: The type of entity of whose related entities to find.

Return value

array The list of related entities that can be used as an #options list.

1 string reference to 'salesforce_mapping_related_entity_fieldmap_options'
salesforce_mapping_salesforce_mapping_fieldmap_type in modules/salesforce_mapping/includes/salesforce_mapping.fieldmap_type.inc
Implements hook_salesforce_mapping_fieldmap_type().

File

modules/salesforce_mapping/includes/salesforce_mapping.fieldmap_type.inc, line 119
Data and callbacks for fieldmap types.

Code

function salesforce_mapping_related_entity_fieldmap_options($entity_type, $entity_bundle) {
  return salesforce_mapping_property_fieldmap_options($entity_type, $entity_bundle, TRUE);
}