function MigrateDestinationInterface::rollbackAction

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::rollbackAction()
  2. 8.9.x core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::rollbackAction()
  3. 11.x core/modules/migrate/src/Plugin/MigrateDestinationInterface.php \Drupal\migrate\Plugin\MigrateDestinationInterface::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.

1 method overrides MigrateDestinationInterface::rollbackAction()
DestinationBase::rollbackAction in core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php
The rollback action for the last imported item.

File

core/modules/migrate/src/Plugin/MigrateDestinationInterface.php, line 147

Class

MigrateDestinationInterface
Defines an interface for Migration Destination classes.

Namespace

Drupal\migrate\Plugin

Code

public function rollbackAction();

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.