function hook_redhen_settings in RedHen CRM 7
Provide a form API element exposed as a RedHen setting.
Return value
array
1 function implements hook_redhen_settings()
Note: this list is generated by pattern matching, so it may include some functions that are not actually implementations of this hook.
- redhen_contact_redhen_settings in modules/
redhen_contact/ redhen_contact.module  - Implements hook_redhen_settings().
 
1 invocation of hook_redhen_settings()
- redhen_settings in includes/
redhen.admin.inc  - Settings form for Redhen CRM.
 
File
- ./
redhen.api.php, line 98  - Hooks provided by the RedHen contact module.
 
Code
function hook_redhen_settings() {
  return array(
    'redhen_contact_connect_users' => array(
      '#type' => 'checkbox',
      '#title' => t('Connect users to Redhen contacts'),
      '#description' => t('If checked, Redhen will attempt to connect Drupal users to Redhen contacts by matching email addresses when a contact is updated.'),
      '#default_value' => variable_get('redhen_contact_connect_users', FALSE),
    ),
  );
}