function FieldInstance::doCount

Same name in other branches
  1. 9 core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::doCount()
  2. 11.x core/modules/field/src/Plugin/migrate/source/d7/FieldInstance.php \Drupal\field\Plugin\migrate\source\d7\FieldInstance::doCount()

Overrides SqlBase::doCount

File

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

Class

FieldInstance
Drupal 7 field instances source from database.

Namespace

Drupal\field\Plugin\migrate\source\d7

Code

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

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