protected function MigrateExecutable::resetCounters in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
- 8.2 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::resetCounters()
- 8.3 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 201 - Contains \Drupal\migrate_tools\MigrateExecutable.
Class
Namespace
Drupal\migrate_toolsCode
protected function resetCounters() {
foreach ($this->saveCounters as $status => $count) {
$this->saveCounters[$status] = 0;
}
$this->deleteCounter = 0;
}