public function MigrateExecutable::onPostRowDelete in Migrate Tools 8
Same name and namespace in other branches
- 8.5 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRowDelete()
- 8.2 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRowDelete()
- 8.3 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRowDelete()
- 8.4 src/MigrateExecutable.php \Drupal\migrate_tools\MigrateExecutable::onPostRowDelete()
React to item rollback.
Parameters
\Drupal\migrate\Event\MigrateRowDeleteEvent $event: The post-save event.
File
- src/
MigrateExecutable.php, line 311 - Contains \Drupal\migrate_tools\MigrateExecutable.
Class
Namespace
Drupal\migrate_toolsCode
public function onPostRowDelete(MigrateRowDeleteEvent $event) {
if ($this->feedback && $this->deleteCounter && $this->deleteCounter % $this->feedback == 0) {
$this
->rollbackMessage(FALSE);
$this
->resetCounters();
}
}