You are here

public function AcsfDuplicationScrubEntityHandler::countRemaining in Acquia Cloud Site Factory Connector 8.2

Same name and namespace in other branches
  1. 8 src/Event/AcsfDuplicationScrubEntityHandler.php \Drupal\acsf\Event\AcsfDuplicationScrubEntityHandler::countRemaining()

Counts the entities that still need to be processed.

Return value

int The number of entities that still need to be processed. (That is: not counting the entities that could not be deleted.)

1 call to AcsfDuplicationScrubEntityHandler::countRemaining()
AcsfDuplicationScrubCommentHandler::countRemaining in src/Event/AcsfDuplicationScrubCommentHandler.php
Counts the entities that still need to be processed.
1 method overrides AcsfDuplicationScrubEntityHandler::countRemaining()
AcsfDuplicationScrubCommentHandler::countRemaining in src/Event/AcsfDuplicationScrubCommentHandler.php
Counts the entities that still need to be processed.

File

src/Event/AcsfDuplicationScrubEntityHandler.php, line 213

Class

AcsfDuplicationScrubEntityHandler
Handles the scrubbing of Drupal entities.

Namespace

Drupal\acsf\Event

Code

public function countRemaining() {
  return $this
    ->getBaseQuery()
    ->count()
    ->execute();
}