function log_settings_form in Log entity 7
Log settings form.
Parameters
array $form: The form array.
array $form_state: The form state array.
Return value
array Returns the form array.
1 string reference to 'log_settings_form'
- log_menu in ./
log.module - Implements hook_menu().
File
- ./
log.admin.inc, line 19 - Log admin pages.
Code
function log_settings_form(array $form, array &$form_state) {
// Use admin theme for log viewing/editing.
$form['log_admin_theme'] = array(
'#type' => 'checkbox',
'#title' => t('Use admin theme for viewing/editing logs'),
'#description' => t('If checked, this will use the administration theme for the log viewing pages, and the log edit forms.'),
'#default_value' => variable_get('log_admin_theme', TRUE),
);
// Return as a system settings form.
return system_settings_form($form);
}