function DummyQueryTrait::doCount

Same name in other branches
  1. 10 core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php \Drupal\migrate\Plugin\migrate\source\DummyQueryTrait::doCount()
  2. 11.x core/modules/migrate/src/Plugin/migrate/source/DummyQueryTrait.php \Drupal\migrate\Plugin\migrate\source\DummyQueryTrait::doCount()
1 method overrides DummyQueryTrait::doCount()
UploadInstance::doCount in core/modules/file/src/Plugin/migrate/source/d6/UploadInstance.php
Gets the source count using countQuery().

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

protected function doCount() {
    return 1;
}

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