public function MigrateExecutable::onPostRowDelete in Migrate Tools 8.5
Same name and namespace in other branches
- 8 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 355
Class
- MigrateExecutable
- Defines a migrate executable class for drush.
Namespace
Drupal\migrate_toolsCode
public function onPostRowDelete(MigrateRowDeleteEvent $event) {
if ($this->feedback && $this->deleteCounter && $this->deleteCounter % $this->feedback == 0) {
$this
->rollbackMessage(FALSE);
$this
->resetCounters();
}
}