You are here

function salesforce_api_export_salesforce_fieldmap in Salesforce Suite 7.2

Generates a form with the export code for a given fieldmap.


string $fieldmap: The name of the fieldmap to export.

Return value

array A CTools exportable form.

1 string reference to 'salesforce_api_export_salesforce_fieldmap'
salesforce_api_menu in salesforce_api/salesforce_api.module
Implements hook_menu().


salesforce_api/salesforce_api.module, line 2146
Defines an API that enables modules to interact with the Salesforce server.


function salesforce_api_export_salesforce_fieldmap($map) {
  drupal_set_title(t('Export Fieldmap'));
  $code = salesforce_api_salesforce_fieldmap_export($map);
  return drupal_get_form('ctools_export_form', $code, 'Export Fieldmap');