You are here

function salesforce_api_enable in Salesforce Suite 7

Same name and namespace in other branches
  1. 6.2 salesforce_api/salesforce_api.install \salesforce_api_enable()

Implements hook_enable().

File

salesforce_api/salesforce_api.install, line 28
Installs any global tables needed for Salesforce integration.

Code

function salesforce_api_enable() {
  drupal_set_message(t('Salesforce API: Before making any Salesforce connections, please <a href="!url">enter your Salesforce API credentials</a>', array(
    '!url' => url(SALESFORCE_PATH_ADMIN),
  )), 'warning');
  drupal_set_message(t('Salesforce API: The default Salesforce object have been enabled, to export/import any other objects see the <a href="!url">Object setup</a> page.', array(
    '!url' => url(SALESFORCE_PATH_OBJECT),
  )), 'warning');
}