You are here

protected function FieldInstance::doCount in Drupal 10

Gets the source count using countQuery().

Overrides SqlBase::doCount

File

core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php, line 256

Class

FieldInstance
Drupal 7 field instances source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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