dblog_clear_log_form

Versions
mediamosa-21
dblog_clear_log_form($form)

Return form for dblog clear button.

See also

dblog_clear_log_submit()

Related topics

Code

modules/dblog/dblog.admin.inc, line 346

<?php
function dblog_clear_log_form($form) {
  $form['dblog_clear'] = array(
    '#type' => 'fieldset',
    '#title' => t('Clear log messages'),
    '#description' => t('This will permanently remove the log messages from the database.'),
    '#collapsible' => TRUE,
    '#collapsed' => TRUE,
  );
  $form['dblog_clear']['clear'] = array(
    '#type' => 'submit',
    '#value' => t('Clear log messages'),
    '#submit' => array('dblog_clear_log_submit'),
  );

  return $form;
}
?>