function NullIdMap::saveMessage

Saves a message related to a source record in the migration message table.

Parameters

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

string $message: The message to record.

int $level: (optional) The message severity. Defaults to MigrationInterface::MESSAGE_ERROR.

Overrides MigrateIdMapInterface::saveMessage

File

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

Class

NullIdMap
Defines the null ID map implementation.

Namespace

Drupal\migrate\Plugin\migrate\id_map

Code

public function saveMessage(array $source_id_values, $message, $level = MigrationInterface::MESSAGE_ERROR) {
  // Do nothing.
}

Buggy or inaccurate documentation? Please file an issue. Need support? Need help programming? Connect with the Drupal community.