public function MigrateExecutable::getProcessedCount in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::getProcessedCount()
- 8.2 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
1 call to MigrateExecutable::getProcessedCount()
- 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 182 - Contains \Drupal\migrate_tools\MigrateExecutable.
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];
}