function DestinationBase::rollback

Same name in other branches
  1. 9 core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::rollback()
  2. 8.9.x core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::rollback()
  3. 11.x core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php \Drupal\migrate\Plugin\migrate\destination\DestinationBase::rollback()

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\destination

Code

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.