Skip to main content
Drupal API
User account menu
  • Log in

Breadcrumb

  1. Drupal Core 11.1.x
  2. MigrateDestinationInterface.php

function MigrateDestinationInterface::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.

1 method overrides MigrateDestinationInterface::rollback()
DestinationBase::rollback in core/modules/migrate/src/Plugin/migrate/destination/DestinationBase.php
Delete the specified destination object from the target Drupal.

File

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

Class

MigrateDestinationInterface
Defines an interface for Migration Destination classes.

Namespace

Drupal\migrate\Plugin

Code

public function rollback(array $destination_identifier);
RSS feed
Powered by Drupal