function DestinationBase::rollback
Delete the specified destination object from the target Drupal.
Parameters
array $destination_identifier: An associative array of destination IDs for the object to delete. The array keys are defined by the \Drupal\migrate\Plugin\MigrateDestinationInterface::getIds() method used by the destination object.
Overrides MigrateDestinationInterface::rollback
2 methods override DestinationBase::rollback()
- Config::rollback in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Config.php  - Delete the specified destination object from the target Drupal.
 - Entity::rollback in core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ Entity.php  - Delete the specified destination object from the target Drupal.
 
File
- 
              core/
modules/ migrate/ src/ Plugin/ migrate/ destination/ DestinationBase.php, line 88  
Class
- DestinationBase
 - Base class for migrate destination classes.
 
Namespace
Drupal\migrate\Plugin\migrate\destinationCode
public function rollback(array $destination_identifier) {
  // By default we do nothing.
}
Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.