You are here

public function DestinationBase::rollbackAction in Drupal 10

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::rollbackAction()
  2. 9 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::rollbackAction()

The rollback action for the last imported item.

Return value

int The MigrateIdMapInterface::ROLLBACK_ constant indicating how an imported item should be handled on rollback.

Overrides MigrateDestinationInterface::rollbackAction

File

core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php, line 72

Class

DestinationBase
Base class for migrate destination classes.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function rollbackAction() {
  return $this->rollbackAction;
}