function SourcePluginBase::preRollback
Performs pre-rollback tasks.
Parameters
\Drupal\migrate\Event\MigrateRollbackEvent $event: The pre-rollback event object.
Overrides RollbackAwareInterface::preRollback
File
-
core/
modules/ migrate/ src/ Plugin/ migrate/ source/ SourcePluginBase.php, line 611
Class
- SourcePluginBase
- The base class for source plugins.
Namespace
Drupal\migrate\Plugin\migrate\sourceCode
public function preRollback(MigrateRollbackEvent $event) {
// Reset the high-water mark.
$this->saveHighWater(NULL);
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.