function monitoring_settings_form in Monitoring 7
Monitoring settings form.
Configure logging.
1 string reference to 'monitoring_settings_form'
- monitoring_menu in ./
monitoring.module - Implements hook_menu().
File
- ./
monitoring.admin.inc, line 478 - Admin page/form callbacks.
Code
function monitoring_settings_form($form, &$form_state) {
$form['monitoring_sensor_call_logging'] = array(
'#type' => 'select',
'#title' => t('Monitoring event logging'),
'#description' => t('Control local logging of sensor call results.'),
'#options' => array(
'all' => t('Log all events'),
'on_request' => t('Log only on request or on status change'),
'none' => t('No logging'),
),
'#default_value' => variable_get('monitoring_sensor_call_logging', 'on_request'),
);
return system_settings_form($form);
}