function ViewModeBase::doCount

Same name in other branches
  1. 9 core/modules/node/src/Plugin/migrate/source/d6/ViewModeBase.php \Drupal\node\Plugin\migrate\source\d6\ViewModeBase::doCount()
  2. 10 core/modules/node/src/Plugin/migrate/source/d6/ViewModeBase.php \Drupal\node\Plugin\migrate\source\d6\ViewModeBase::doCount()

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());
}

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