You are here

function mail_logger_clear_form in Mail Logger 6

Clear log form implementations

1 string reference to 'mail_logger_clear_form'
mail_logger_clear in ./mail_logger.module

File

./mail_logger.module, line 356
Mail Logger module logs all outgoing mail that passes through the drupal_mail function.

Code

function mail_logger_clear_form($form_state) {
  $form['submit'] = array(
    '#type' => 'submit',
    '#value' => t('Clear log'),
  );
  $form['#redirect'] = FALSE;
  return $form;
}