@@ -43,6 +43,12 @@ function redirect_404_form_redirect_settings_form_alter(&$form, FormStateInterfa
'#description'=>t('The maximum number of 404 error logs to keep in the database log. Requires a <a href=":cron">cron maintenance task</a>.',[':cron'=>Url::fromRoute('system.status')->toString()])
];
$form['reset_404']=[
'#type'=>'submit',
'#value'=>t('Clear all 404 log entries'),
'#submit'=>['redirect_404_reset_submit'],
];
$ignored_pages=$config->get('pages');
// Add a new path to be ignored, if there is an ignore argument in the query.