You are here

public function LinkCheckerAdminSettingsForm::submitClearAnalyzeLinks in Link checker 8

Clear link data and analyze all selected for scan fields.

File

src/Form/LinkCheckerAdminSettingsForm.php, line 501

Class

LinkCheckerAdminSettingsForm
Configure Linkchecker settings for this site.

Namespace

Drupal\linkchecker\Form

Code

public function submitClearAnalyzeLinks(array &$form, FormStateInterface $form_state) {
  $this->linkCleanUp
    ->removeAllBatch();
  $this
    ->submitAnalyzeLinks($form, $form_state);
}