You are here

function salesforce_api_fieldmap_delete_form_submit in Salesforce Suite 7.2

Same name and namespace in other branches
  1. 5.2 salesforce_api/ \salesforce_api_fieldmap_delete_form_submit()
  2. 6.2 salesforce_api/ \salesforce_api_fieldmap_delete_form_submit()
  3. 7 salesforce_api/ \salesforce_api_fieldmap_delete_form_submit()

FAPI submit handler for deleting a fieldmap


salesforce_api/, line 586
Contains the admin page callbacks for the Salesforce module, including forms for general settings and fieldmap administration.


function salesforce_api_fieldmap_delete_form_submit($form, &$form_state) {

  // Delete the specified fieldmap.

  // Display a message and return to the admin screen.
  drupal_set_message(t('The fieldmap has been deleted.'));
  $form_state['redirect'] = SALESFORCE_PATH_FIELDMAPS;