You are here

protected function ViewModeBase::doCount in Drupal 10

Gets the source count using countQuery().

Overrides SqlBase::doCount

File

core/modules/node/src/Plugin/migrate/source/d6/ViewModeBase.php, line 15

Class

ViewModeBase
A base class for migrations that require view mode info.

Namespace

Drupal\node\Plugin\migrate\source\d6

Code

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