You are here

function salesforce_api_fieldmap_features_export_options in Salesforce Suite 7.2

Implements hook_features_export_options().

File

salesforce_api/salesforce_api.features.inc, line 17
Salesforce features integration

Code

function salesforce_api_fieldmap_features_export_options() {
  $maps = salesforce_api_salesforce_fieldmap_load_all();
  $options = array();
  foreach ($maps as $machine_name => $map) {
    $options[$machine_name] = $map->drupal_entity . ' : ' . $map->drupal_bundle . ' => ' . $map->salesforce;
  }
  return $options;
}