function audit_log_filter_by_cli_form in Audit Log 7
Render admin form to select environments.
1 string reference to 'audit_log_filter_by_cli_form'
- audit_log_filter_menu in modules/
audit_log_filter/ audit_log_filter.module - Implements hook_menu().
File
- modules/
audit_log_filter/ audit_log_filter.admin.inc, line 125 - Hook implemenations for the Audit database logging module.
Code
function audit_log_filter_by_cli_form($form, &$form_state) {
$form['audit_log_exclude_cli'] = array(
'#type' => 'checkbox',
'#title' => t('Exclude cli'),
'#description' => t('If checked, there will be no logging if Drupal is called form the command line interface.'),
'#default_value' => variable_get('audit_log_exclude_cli', FALSE),
);
$form['audit_log_exclude_drush'] = array(
'#type' => 'checkbox',
'#title' => t('Exclude drush'),
'#description' => t('If checked, there will be no logging if Drupal is called form the command line interface through drush.'),
'#default_value' => variable_get('audit_log_exclude_drush', FALSE),
);
return system_settings_form($form);
}