You are here

protected function UploadInstance::doCount in Drupal 10

Gets the source count using countQuery().

Overrides DummyQueryTrait::doCount

File

core/modules/file/src/Plugin/migrate/source/d6/UploadInstance.php, line 83

Class

UploadInstance
Drupal 6 upload instance source from database.

Namespace

Drupal\file\Plugin\migrate\source\d6

Code

protected function doCount() {
  return count($this
    ->initializeIterator());
}