You are here

public function DummyQueryTrait::count in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php \Drupal\migrate\Plugin\migrate\source\DummyQueryTrait::count()
1 method overrides DummyQueryTrait::count()
UploadInstance::count in core/modules/file/src/Plugin/migrate/source/d6/UploadInstance.php
Gets the source count.

File

core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php, line 30

Class

DummyQueryTrait
Provides a dummy select query object for source plugins.

Namespace

Drupal\migrate\Plugin\migrate\source

Code

public function count($refresh = FALSE) {
  return 1;
}