dblog_admin_settings()
drupal/modules/dblog/dblog.admin.inc, line 14
dblog module settings form.
@see system_settings_form()
| Name | Description |
|---|---|
| Form builder functions | Functions that build an abstract representation of a HTML form. |
function dblog_admin_settings() {
$form['dblog_row_limit'] = array(
'#type' => 'select',
'#title' => t('Discard log entries above the following row limit'),
'#default_value' => variable_get('dblog_row_limit', 1000),
'#options' => drupal_map_assoc(array(100, 1000, 10000, 100000, 1000000)),
'#description' => t('The maximum number of rows to keep in the database log. Older entries will be automatically discarded. (Requires a correctly configured <a href="@cron">cron maintenance task</a>.)', array('@cron' => url('admin/reports/status')))
);
return system_settings_form($form);
}