function theme_salesforce_api_drupal_sfapi_automatic in Salesforce Suite 6.2
Same name and namespace in other branches
- 7.2 salesforce_api/salesforce_api.admin.inc \theme_salesforce_api_drupal_sfapi_automatic()
Theme callback for synch option radios
1 theme call to theme_salesforce_api_drupal_sfapi_automatic()
- salesforce_api_fieldmap_edit_form in salesforce_api/
salesforce_api.admin.inc - Displays the edit form for adding field associations to a fieldmap.
File
- salesforce_api/
salesforce_api.admin.inc, line 894 - Contains the admin page callbacks for the Salesforce module, including forms for general settings and fieldmap administration.
Code
function theme_salesforce_api_drupal_sfapi_automatic($element) {
$element[SALESFORCE_AUTO_SYNC_CREATE]['#description'] = t('Create and link Salesforce records automatically when Drupal records are created.');
$element[SALESFORCE_AUTO_SYNC_UPDATE]['#description'] = t('Update Salesforce records if a link already exists.');
$element[SALESFORCE_AUTO_SYNC_DELETE]['#description'] = t('Delete linked Salesforce records when a Drupal record is deleted.');
return drupal_render($element);
}