function 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;
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.