function sf_node_form_alter in Salesforce Suite 6.2
Same name and namespace in other branches
- 5.2 sf_node/sf_node.module \sf_node_form_alter()
Implementation of hook_form_alter().
File
- sf_node/
sf_node.module, line 34 - Integrates the core node object and various node related modules with the Salesforce API.
Code
function sf_node_form_alter(&$form, $form_state, $form_id) {
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,
'#weight' => -1,
// The admin form is getting cluttered. This is going to be hidden until
// there is actually something here:
'#access' => FALSE,
);
}
}