public function MigrateExecutable::getProcessedCount in Migrate Tools 8.2
Same name and namespace in other branches
- 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getProcessedCount()
- 8 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getProcessedCount()
- 8.3 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getProcessedCount()
- 8.4 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getProcessedCount()
Return the total number of items processed. Note that STATUS_NEEDS_UPDATE is not counted, since this is typically set on stubs created as side effects, not on the primary item being imported.
Return value
int
2 calls to MigrateExecutable::getProcessedCount()
- MigrateExecutable::onPrepareRow in src/
MigrateExecutable.php - React to a new row.
- MigrateExecutable::progressMessage in src/
MigrateExecutable.php - Emit information on what we've done since the last feedback (or the beginning of this migration).
File
- src/
MigrateExecutable.php, line 189
Class
Namespace
Drupal\migrate_toolsCode
public function getProcessedCount() {
return $this->saveCounters[MigrateIdMapInterface::STATUS_IMPORTED] + $this->saveCounters[MigrateIdMapInterface::STATUS_NEEDS_UPDATE] + $this->saveCounters[MigrateIdMapInterface::STATUS_IGNORED] + $this->saveCounters[MigrateIdMapInterface::STATUS_FAILED];
}