public function MigrateExecutable::getProcessedCount in Migrate Tools 8.5
Same name and namespace in other branches
- 8 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 The processed count.
1 call to MigrateExecutable::getProcessedCount()
- MigrateExecutable::progressMessage in src/
MigrateExecutable.php - Emit information on what we've done.
File
- src/
MigrateExecutable.php, line 205
Class
- MigrateExecutable
- Defines a migrate executable class for drush.
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];
}