You are here

function sf_node_form_alter in Salesforce Suite 5.2

Same name and namespace in other branches
  1. 6.2 sf_node/sf_node.module \sf_node_form_alter()

Implementation of hook_form_alter().

File

sf_node/sf_node.module, line 40
Integrates the core node object and various node related modules with the SalesForce API.

Code

function sf_node_form_alter($form_id, &$form) {
  if ($form_id == 'salesforce_api_settings_form') {
    $form['sf_node'] = array(
      '#type' => 'fieldset',
      '#title' => t('Node integration'),
      '#description' => t('Placeholder for any node integration settings.'),
      '#collapsible' => TRUE,
      '#collapsed' => TRUE,
    );
  }
}