You are here

public function LinkCheckerBatch::getTotalLinksToProcess in Link checker 8

Gets total number of links to process.

Return value

int Total number of links.

1 call to LinkCheckerBatch::getTotalLinksToProcess()
LinkCheckerBatch::batchProcessQueue in src/LinkCheckerBatch.php
Process linkchecker_check queue.

File

src/LinkCheckerBatch.php, line 115

Class

LinkCheckerBatch
Helper service to handle links checking.

Namespace

Drupal\linkchecker

Code

public function getTotalLinksToProcess() {
  return $this->checker
    ->queueLinks(TRUE);
}