protected function MigrateExecutable::resetCounters in Migrate Tools 8.3
Same name and namespace in other branches
- 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
- 8 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
- 8.2 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
- 8.4 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
Reset all the per-status counters to 0.
2 calls to MigrateExecutable::resetCounters()
- MigrateExecutable::onPostRowDelete in src/
MigrateExecutable.php - React to item rollback.
- MigrateExecutable::onPrepareRow in src/
MigrateExecutable.php - React to a new row.
File
- src/
MigrateExecutable.php, line 208
Class
Namespace
Drupal\migrate_toolsCode
protected function resetCounters() {
foreach ($this->saveCounters as $status => $count) {
$this->saveCounters[$status] = 0;
}
$this->deleteCounter = 0;
}