You are here

public function DestinationBase::rollback in Drupal 8

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

Delete the specified destination object from the target Drupal.

Parameters

array $destination_identifier: The ID of the destination object to delete.

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 86

Class

DestinationBase
Base class for migrate destination classes.

Namespace

Drupal\migrate\Plugin\migrate\destination

Code

public function rollback(array $destination_identifier) {

  // By default we do nothing.
}