You are here

public function MaillogSettingsForm::clearLog in Maillog / Mail Developer 8

Clear all the maillog entries.

File

src/Form/MaillogSettingsForm.php, line 87

Class

MaillogSettingsForm
Configure file system settings for this site.

Namespace

Drupal\maillog\Form

Code

public function clearLog(array $form, FormStateInterface $form_state) {
  $form_state
    ->setRedirect('maillog.clear_log');
}