You are here

public function NullIdMap::delete in Drupal 9

Same name and namespace in other branches
  1. 8 core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php \Drupal\migrate\Plugin\migrate\id_map\NullIdMap::delete()

Deletes the map and message entries for a given source record.

Parameters

array $source_id_values: The source identifier keyed values of the record, e.g. ['nid' => 5].

bool $messages_only: (optional) TRUE to only delete the migrate messages. Defaults to FALSE.

Overrides MigrateIdMapInterface::delete

File

core/modules/migrate/src/Plugin/migrate/id_map/NullIdMap.php, line 128

Class

NullIdMap
Defines the null ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

public function delete(array $source_id_values, $messages_only = FALSE) {

  // Do nothing.
}