You are here

function _linkchecker_batch_box_import_finished in Link checker 6.2

1 string reference to '_linkchecker_batch_box_import_finished'
_linkchecker_batch_import_boxes in includes/linkchecker.batch.inc
Batch: Scan blocks for links.

File

includes/linkchecker.batch.inc, line 132
Batch API callbacks for the linkchecker module.

Code

function _linkchecker_batch_box_import_finished($success, $results, $operations) {
  if ($success) {
    $message = format_plural(count($results), 'One block has been scanned.', '@count blocks have been scanned.');
  }
  else {
    $message = t('Scanning for links in blocks have failed with an error.');
  }
  drupal_set_message($message);
}