You are here

function heartbeat_admin_settings in Heartbeat 6.2

Same name and namespace in other branches
  1. 6.4 heartbeat.admin.inc \heartbeat_admin_settings()
  2. 6.3 heartbeat.admin.inc \heartbeat_admin_settings()
  3. 7 modules/heartbeat_ui/heartbeat_ui.admin.inc \heartbeat_admin_settings()

Function to maintain and administer heartbeat settings

Return value

settingsform

1 string reference to 'heartbeat_admin_settings'
heartbeat_menu in ./heartbeat.module
Implementation of hook_menu().

File

./heartbeat.admin.inc, line 10

Code

function heartbeat_admin_settings() {
  $form['heartbeat_enabled'] = array(
    '#title' => t('Do you want to enable the heatbeat?'),
    '#type' => 'checkbox',
    '#size' => 5,
    '#default_value' => variable_get('heartbeat_enabled', 1),
  );
  return system_settings_form($form);
}