You are here

public function DummyQueryTrait::count in Drupal 8

Same name and namespace in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php \Drupal\migrate\Plugin\migrate\source\DummyQueryTrait::count()
2 methods override DummyQueryTrait::count()
CommentVariable::count in core/modules/comment/src/Plugin/migrate/source/d6/CommentVariable.php
Gets the source 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;
}